We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7526015 commit 5c9666aCopy full SHA for 5c9666a
django_iris/features.py
@@ -1,6 +1,8 @@
1
from django.db.backends.base.features import BaseDatabaseFeatures
2
class DatabaseFeatures(BaseDatabaseFeatures):
3
empty_fetchmany_value = []
4
+
5
+ requires_literal_defaults = True
6
7
supports_transactions = False
8
uses_savepoints = False
django_iris/schema.py
@@ -19,7 +19,7 @@ def quote_value(self, value):
19
return value
20
21
def prepare_default(self, value):
22
- raise NotImplementedError()
+ return self.quote_value(value)
23
24
def table_sql(self, model):
25
if '.' in model._meta.db_table:
0 commit comments