Ticket #4492: add-quote_name.diff

File add-quote_name.diff, 593 bytes (added by John Shaffer <jshaffer2112@…>, 17 years ago)
  • db/backends/postgresql/base.py

     
    236236                style.SQL_KEYWORD('SELECT'),
    237237                style.SQL_FIELD(quote_name('id')),
    238238                style.SQL_KEYWORD('FROM'),
    239                 style.SQL_TABLE(f.m2m_db_table())))
     239                style.SQL_TABLE(quote_name(f.m2m_db_table()))))
    240240    return output
    241241       
    242242# Register these custom typecasts, because Django expects dates/times to be
Back to Top