o ÎØøaÄã@s¼dZddlmZddlmZddlmZddlmZddl m Z ddl m Z ddl mZd d „Zd d „ZGd d„de ƒZGdd„deƒZGdd„deƒZGdd„de ƒZGdd„deƒZdS)zË Dummy database backend for Django. Django uses this if the database ENGINE setting is empty (None or empty string). Each of these API functions, except connection.close(), raise ImproperlyConfigured. é©ÚImproperlyConfigured)ÚBaseDatabaseWrapper)ÚBaseDatabaseClient)ÚBaseDatabaseCreation)ÚBaseDatabaseIntrospection)ÚBaseDatabaseOperations)ÚDummyDatabaseFeaturescOstdƒ‚)Nz{settings.DATABASES is improperly configured. Please supply the ENGINE value. Check settings documentation for more details.r©ÚargsÚkwargs©r ú?/usr/lib/python3/dist-packages/django/db/backends/dummy/base.pyÚcomplainsrcOsdS)Nr r r r rÚignoreórc@óeZdZeZdS)ÚDatabaseOperationsN)Ú__name__Ú __module__Ú __qualname__rÚ quote_namer r r rrórc@r)ÚDatabaseClientN)rrrrÚrunshellr r r rr!rrc@seZdZeZeZdS)ÚDatabaseCreationN)rrrrÚcreate_test_dbÚdestroy_test_dbr r r rr%src@s eZdZeZeZeZeZeZdS)ÚDatabaseIntrospectionN) rrrrÚget_table_listÚget_table_descriptionÚ get_relationsÚ get_indexesÚget_key_columnsr r r rr*s rc@sPeZdZiZeZeZeZeZ eZ eZ eZ eZ eZeZeZeZeZeZdd„ZdS)ÚDatabaseWrappercCsdS)NTr )Úselfr r rÚ is_usableHrzDatabaseWrapper.is_usableN)rrrÚ operatorsrÚ_cursorÚensure_connectionÚ_commitrÚ _rollbackÚ_closeÚ _savepointÚ_savepoint_commitÚ_savepoint_rollbackÚ_set_autocommitrÚ client_classrÚcreation_classr Úfeatures_classrÚintrospection_classrÚ ops_classr&r r r rr$2s" r$N)Ú__doc__Údjango.core.exceptionsrÚdjango.db.backends.base.baserÚdjango.db.backends.base.clientrÚ django.db.backends.base.creationrÚ%django.db.backends.base.introspectionrÚ"django.db.backends.base.operationsrÚ!django.db.backends.dummy.featuresr rrrrrrr$r r r rÚs