Ticket #4492: add-quote_name-psycopg2.diff
File add-quote_name-psycopg2.diff, 565 bytes (added by , 17 years ago) |
---|
-
db/backends/postgresql_psycopg2/base.py
193 193 style.SQL_KEYWORD('SELECT'), 194 194 style.SQL_FIELD(quote_name('id')), 195 195 style.SQL_KEYWORD('FROM'), 196 style.SQL_TABLE( f.m2m_db_table())))196 style.SQL_TABLE(quote_name(f.m2m_db_table())))) 197 197 return output 198 198 199 199 OPERATOR_MAPPING = {