diff options
| author | Adrian Holovaty <adrian@holovaty.com> | 2007-08-19 22:55:05 +0000 |
|---|---|---|
| committer | Adrian Holovaty <adrian@holovaty.com> | 2007-08-19 22:55:05 +0000 |
| commit | 29f67dce9efd048b915d70f905ee1c9d2bda5de9 (patch) | |
| tree | a82e9c5b29410d7d21ce0b530b55160e611387e2 /django/db/backends/postgresql/base.py | |
| parent | 5f51f0524a8cd941ea757a0339978f3589193cbb (diff) | |
Refactored get_datetime_cast_sql() to DatabaseOperations.datetime_cast_sql(). Refs #5106
git-svn-id: http://code.djangoproject.com/svn/django/trunk@5953 bcc190cf-cafb-0310-a4f2-bffc1f526a37
Diffstat (limited to 'django/db/backends/postgresql/base.py')
| -rw-r--r-- | django/db/backends/postgresql/base.py | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/django/db/backends/postgresql/base.py b/django/db/backends/postgresql/base.py index 5221ebf871..8c06bb494e 100644 --- a/django/db/backends/postgresql/base.py +++ b/django/db/backends/postgresql/base.py @@ -128,9 +128,6 @@ def get_last_insert_id(cursor, table_name, pk_name): cursor.execute("SELECT CURRVAL('\"%s_%s_seq\"')" % (table_name, pk_name)) return cursor.fetchone()[0] -def get_datetime_cast_sql(): - return None - def get_limit_offset_sql(limit, offset=None): sql = "LIMIT %s" % limit if offset and offset != 0: |
