summaryrefslogtreecommitdiff
path: root/django/db/backends/postgresql/operations.py
diff options
context:
space:
mode:
authorMalcolm Tredinnick <malcolm.tredinnick@gmail.com>2008-08-28 05:42:05 +0000
committerMalcolm Tredinnick <malcolm.tredinnick@gmail.com>2008-08-28 05:42:05 +0000
commit71dda1918408a5b15d27c5b2cd28fddcd747449d (patch)
treed362d05cae2b2b402b022a838a6ac894e7d3bb3b /django/db/backends/postgresql/operations.py
parentf749b84824fc11f2f57d5b0036a07ead13fd1a99 (diff)
downloaddjango-71dda1918408a5b15d27c5b2cd28fddcd747449d.tar.gz
Fixed #8597 -- Allow the use of strings containing underscores and percentage
signs in "iexact" queries on PostgreSQL again (this case was missed in [8536]). git-svn-id: http://code.djangoproject.com/svn/django/trunk@8646 bcc190cf-cafb-0310-a4f2-bffc1f526a37
Diffstat (limited to 'django/db/backends/postgresql/operations.py')
-rw-r--r--django/db/backends/postgresql/operations.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/django/db/backends/postgresql/operations.py b/django/db/backends/postgresql/operations.py
index 01cc1fc8b7..235210939f 100644
--- a/django/db/backends/postgresql/operations.py
+++ b/django/db/backends/postgresql/operations.py
@@ -142,3 +142,5 @@ class DatabaseOperations(BaseDatabaseOperations):
def savepoint_rollback_sql(self, sid):
return "ROLLBACK TO SAVEPOINT %s" % sid
+ def prep_for_iexact_query(self, x):
+ return x