summaryrefslogtreecommitdiff
path: root/django/db
diff options
context:
space:
mode:
Diffstat (limited to 'django/db')
-rw-r--r--django/db/backends/base/features.py3
-rw-r--r--django/db/backends/oracle/features.py1
-rw-r--r--django/db/backends/postgresql_psycopg2/features.py1
3 files changed, 0 insertions, 5 deletions
diff --git a/django/db/backends/base/features.py b/django/db/backends/base/features.py
index e03a097a04..8c7b31e471 100644
--- a/django/db/backends/base/features.py
+++ b/django/db/backends/base/features.py
@@ -7,9 +7,6 @@ class BaseDatabaseFeatures(object):
gis_enabled = False
allows_group_by_pk = False
allows_group_by_selected_pks = False
- # True if django.db.backends.utils.typecast_timestamp is used on values
- # returned from dates() calls.
- needs_datetime_string_cast = True
empty_fetchmany_value = []
update_can_self_select = True
diff --git a/django/db/backends/oracle/features.py b/django/db/backends/oracle/features.py
index 2a17bc5a8f..2be00acd99 100644
--- a/django/db/backends/oracle/features.py
+++ b/django/db/backends/oracle/features.py
@@ -9,7 +9,6 @@ except ImportError:
class DatabaseFeatures(BaseDatabaseFeatures):
empty_fetchmany_value = ()
- needs_datetime_string_cast = False
interprets_empty_strings_as_nulls = True
uses_savepoints = True
has_select_for_update = True
diff --git a/django/db/backends/postgresql_psycopg2/features.py b/django/db/backends/postgresql_psycopg2/features.py
index 789e0e0ccf..3c5aebfef8 100644
--- a/django/db/backends/postgresql_psycopg2/features.py
+++ b/django/db/backends/postgresql_psycopg2/features.py
@@ -4,7 +4,6 @@ from django.db.utils import InterfaceError
class DatabaseFeatures(BaseDatabaseFeatures):
allows_group_by_selected_pks = True
- needs_datetime_string_cast = False
can_return_id_from_insert = True
has_real_datatype = True
has_native_uuid_field = True