ó
Žâ0_c           @   sú   d  Z  d d l m Z d d l m Z d d l m Z d d l m Z d d l	 m
 Z
 d d l m Z d d l m Z d	   Z d
   Z d e f d     YZ d e f d     YZ d e f d     YZ d e
 f d     YZ d e f d     YZ d S(   sĚ   
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(), raises
ImproperlyConfigured.
i˙˙˙˙(   t   ImproperlyConfigured(   t   BaseDatabaseWrapper(   t   BaseDatabaseClient(   t   BaseDatabaseCreation(   t   BaseDatabaseIntrospection(   t   BaseDatabaseOperations(   t   DummyDatabaseFeaturesc          O   s   t  d   d  S(   Ns{   settings.DATABASES is improperly configured. Please supply the ENGINE value. Check settings documentation for more details.(   R    (   t   argst   kwargs(    (    s?   /tmp/pip-unpacked-wheel-BAJOf3/django/db/backends/dummy/base.pyt   complain   s    c          O   s   d  S(   N(    (   R   R   (    (    s?   /tmp/pip-unpacked-wheel-BAJOf3/django/db/backends/dummy/base.pyt   ignore   s    t   DatabaseOperationsc           B   s   e  Z e Z RS(    (   t   __name__t
   __module__R	   t
   quote_name(    (    (    s?   /tmp/pip-unpacked-wheel-BAJOf3/django/db/backends/dummy/base.pyR      s   t   DatabaseClientc           B   s   e  Z e Z RS(    (   R   R   R	   t   runshell(    (    (    s?   /tmp/pip-unpacked-wheel-BAJOf3/django/db/backends/dummy/base.pyR   !   s   t   DatabaseCreationc           B   s   e  Z e Z e Z RS(    (   R   R   R
   t   create_test_dbt   destroy_test_db(    (    (    s?   /tmp/pip-unpacked-wheel-BAJOf3/django/db/backends/dummy/base.pyR   %   s   t   DatabaseIntrospectionc           B   s&   e  Z e Z e Z e Z e Z e Z RS(    (   R   R   R	   t   get_table_listt   get_table_descriptiont   get_relationst   get_indexest   get_key_columns(    (    (    s?   /tmp/pip-unpacked-wheel-BAJOf3/django/db/backends/dummy/base.pyR   *   s
   t   DatabaseWrapperc           B   sk   e  Z i  Z e Z e Z e Z e Z e Z	 e Z
 e Z e Z e Z e Z e Z e Z e Z e Z d    Z RS(   c         C   s   t  S(   N(   t   True(   t   self(    (    s?   /tmp/pip-unpacked-wheel-BAJOf3/django/db/backends/dummy/base.pyt	   is_usableH   s    (   R   R   t	   operatorsR	   t   _cursort   ensure_connectiont   _commitR
   t	   _rollbackt   _closet
   _savepointt   _savepoint_committ   _savepoint_rollbackt   _set_autocommitR   t   client_classR   t   creation_classR   t   features_classR   t   introspection_classR   t	   ops_classR   (    (    (    s?   /tmp/pip-unpacked-wheel-BAJOf3/django/db/backends/dummy/base.pyR   2   s    N(   t   __doc__t   django.core.exceptionsR    t   django.db.backends.base.baseR   t   django.db.backends.base.clientR   t    django.db.backends.base.creationR   t%   django.db.backends.base.introspectionR   t"   django.db.backends.base.operationsR   t!   django.db.backends.dummy.featuresR   R	   R
   R   R   R   R   R   (    (    (    s?   /tmp/pip-unpacked-wheel-BAJOf3/django/db/backends/dummy/base.pyt   <module>   s   		