diff options
author | Andrew Godwin <andrew@aeracode.org> | 2014-02-09 12:41:55 +0000 |
---|---|---|
committer | Andrew Godwin <andrew@aeracode.org> | 2014-02-09 12:42:26 +0000 |
commit | 42607a9e33e63639d1da2166b9a2f85c691e07ae (patch) | |
tree | 29ef996e81955c8973023ef74ddc3054b70ce5f4 /django/db/backends/postgresql_psycopg2/operations.py | |
parent | 5cc0555603167c7532b7b714e2672687da8f106e (diff) | |
download | django-42607a9e33e63639d1da2166b9a2f85c691e07ae.tar.gz |
Fixed #21844: Move quote_parameter off of Operations and rename
Diffstat (limited to 'django/db/backends/postgresql_psycopg2/operations.py')
-rw-r--r-- | django/db/backends/postgresql_psycopg2/operations.py | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/django/db/backends/postgresql_psycopg2/operations.py b/django/db/backends/postgresql_psycopg2/operations.py index b9496868b0..9285e6eeca 100644 --- a/django/db/backends/postgresql_psycopg2/operations.py +++ b/django/db/backends/postgresql_psycopg2/operations.py @@ -98,11 +98,6 @@ class DatabaseOperations(BaseDatabaseOperations): return name # Quoting once is enough. return '"%s"' % name - def quote_parameter(self, value): - # Inner import so backend fails nicely if it's not present - import psycopg2 - return psycopg2.extensions.adapt(value) - def set_time_zone_sql(self): return "SET TIME ZONE %s" |