Commits

Waldemar Kornewald committed 3ea35d3 Merge

Comments (0)

Files changed (1)

djangotoolbox/db/base.py

 from .creation import NonrelDatabaseCreation
 
 class NonrelDatabaseFeatures(BaseDatabaseFeatures):
-    def __init__(self, connection):
-        self.connection = connection
-        super(NonrelDatabaseFeatures, self).__init__()
+    can_return_id_from_insert = True
+    supports_unspecified_pk = False
+    supports_regex_backreferencing = True
+    supports_date_lookup_using_string = False
+    supports_timezones = False
 
     distinguishes_insert_from_update = False
     supports_deleting_related_objects = False
     string_based_auto_field = False
     supports_dicts = False
 
+    def _supports_transactions(self):
+        return False
+
 class NonrelDatabaseOperations(BaseDatabaseOperations):
     def __init__(self, connection):
         self.connection = connection