From 71dda1918408a5b15d27c5b2cd28fddcd747449d Mon Sep 17 00:00:00 2001 From: Malcolm Tredinnick Date: Thu, 28 Aug 2008 05:42:05 +0000 Subject: 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 --- django/db/backends/postgresql/operations.py | 2 ++ 1 file changed, 2 insertions(+) (limited to 'django/db/backends/postgresql/operations.py') 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 -- cgit v1.2.1