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
This commit is contained in:
parent
78d557bf02
commit
73f495158c
|
@ -100,5 +100,5 @@ class DatabaseOperations(BaseDatabaseOperations):
|
||||||
style.SQL_FIELD(qn('id')),
|
style.SQL_FIELD(qn('id')),
|
||||||
style.SQL_KEYWORD('IS NOT'),
|
style.SQL_KEYWORD('IS NOT'),
|
||||||
style.SQL_KEYWORD('FROM'),
|
style.SQL_KEYWORD('FROM'),
|
||||||
style.SQL_TABLE(f.m2m_db_table())))
|
style.SQL_TABLE(qn(f.m2m_db_table()))))
|
||||||
return output
|
return output
|
||||||
|
|
Loading…
Reference in New Issue