Ticket #9049: dont_quote_extra_tables.patch
File dont_quote_extra_tables.patch, 599 bytes (added by , 16 years ago) |
---|
-
db/models/sql/query.py
diff -ruN django.orig/db/models/sql/query.py django/db/models/sql/query.py
old new 554 554 # this is the only reference. 555 555 if alias not in self.alias_map or self.alias_refcount[alias] == 1: 556 556 connector = not first and ', ' or '' 557 result.append('%s%s' % (connector, qn(alias)))557 result.append('%s%s' % (connector, alias)) 558 558 first = False 559 559 return result, []