summaryrefslogtreecommitdiff
path: root/django/db/backends/postgresql/operations.py
diff options
context:
space:
mode:
authorGary Wilson Jr <gary.wilson@gmail.com>2007-10-14 05:53:56 +0000
committerGary Wilson Jr <gary.wilson@gmail.com>2007-10-14 05:53:56 +0000
commit73f495158c967316e9aeb5849111fceb99d60372 (patch)
treec7a05ad6e5931f5f36083abd2d09afc59ccb5b5c /django/db/backends/postgresql/operations.py
parent78d557bf024db83f41c9650c58700efd24172821 (diff)
downloaddjango-73f495158c967316e9aeb5849111fceb99d60372.tar.gz
Fixed #5710 -- Fixed a missing table name quoting in the postgresql backend, thanks davep@atomicdroplet.com.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@6507 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, 1 insertions, 1 deletions
diff --git a/django/db/backends/postgresql/operations.py b/django/db/backends/postgresql/operations.py
index 9f36596ace..20392b238e 100644
--- a/django/db/backends/postgresql/operations.py
+++ b/django/db/backends/postgresql/operations.py
@@ -100,5 +100,5 @@ class DatabaseOperations(BaseDatabaseOperations):
style.SQL_FIELD(qn('id')),
style.SQL_KEYWORD('IS NOT'),
style.SQL_KEYWORD('FROM'),
- style.SQL_TABLE(f.m2m_db_table())))
+ style.SQL_TABLE(qn(f.m2m_db_table()))))
return output