summaryrefslogtreecommitdiff
path: root/django/db
diff options
context:
space:
mode:
authorAymeric Augustin <aymeric.augustin@m4x.org>2015-05-02 22:26:27 +0200
committerAymeric Augustin <aymeric.augustin@m4x.org>2015-05-17 10:23:13 +0200
commitda2c6959c8da20ff9e4ebc5e68e2be44930116cd (patch)
tree100a18ef9d1b664a78c8fa1466b0131be1bba6f7 /django/db
parente2a652fac1ce9af51e2dfdfb4e26a1c94cf3189c (diff)
Dropped the needs_datetime_string_cast feature.
It has been superseded by the converter infrastructure.
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