Django

Code

Changeset 6994

Show
Ignore:
Timestamp:
01/04/08 14:26:13 (8 months ago)
Author:
ikelly
Message:

Fixed the Oracle backend mangling colorized unique_together SQL.

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • django/trunk/django/core/management/sql.py

    r6921 r6994  
    294294    for field_constraints in opts.unique_together: 
    295295        table_output.append(style.SQL_KEYWORD('UNIQUE') + ' (%s)' % \ 
    296             ", ".join([qn(style.SQL_FIELD(opts.get_field(f).column)) for f in field_constraints])) 
     296            ", ".join([style.SQL_FIELD(qn(opts.get_field(f).column)) for f in field_constraints])) 
    297297 
    298298    full_statement = [style.SQL_KEYWORD('CREATE TABLE') + ' ' + style.SQL_TABLE(qn(opts.db_table)) + ' (']