Ticket #4492: add-quote_name.diff
File add-quote_name.diff, 593 bytes (added by , 17 years ago) |
---|
-
db/backends/postgresql/base.py
236 236 style.SQL_KEYWORD('SELECT'), 237 237 style.SQL_FIELD(quote_name('id')), 238 238 style.SQL_KEYWORD('FROM'), 239 style.SQL_TABLE( f.m2m_db_table())))239 style.SQL_TABLE(quote_name(f.m2m_db_table())))) 240 240 return output 241 241 242 242 # Register these custom typecasts, because Django expects dates/times to be