summaryrefslogtreecommitdiff
path: root/django/db/backends/__init__.py
diff options
context:
space:
mode:
authorShai Berger <shai@platonix.com>2014-06-14 00:43:49 +0300
committerShai Berger <shai@platonix.com>2014-06-14 00:43:49 +0300
commit612290400f79fb2293a6a0b0cfa5743ab0cef6b1 (patch)
tree57ebf297457e401e4e1ee363eeb6fc14475181c6 /django/db/backends/__init__.py
parent06c0e740a41f64a49a11569e76edee7be04770e0 (diff)
Fixed #22816 -- Corrected Oracle feature flag and fixed introspection test
Diffstat (limited to 'django/db/backends/__init__.py')
-rw-r--r--django/db/backends/__init__.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/django/db/backends/__init__.py b/django/db/backends/__init__.py
index f4f2ba2fe0..911531a2cc 100644
--- a/django/db/backends/__init__.py
+++ b/django/db/backends/__init__.py
@@ -576,6 +576,10 @@ class BaseDatabaseFeatures(object):
can_introspect_max_length = True
# Can the backend determine reliably if a field is nullable?
+ # Note that this is separate from interprets_empty_strings_as_nulls,
+ # although the latter feature, when true, interferes with correct
+ # setting (and introspection) of CharFields' nullability.
+ # This is True for all core backends.
can_introspect_null = True
# Confirm support for introspected foreign keys