Changeset 5426
- Timestamp:
- 06/04/07 16:32:45 (2 years ago)
- Files:
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
django/branches/boulder-oracle-sprint/django/core/management.py
r5423 r5426 367 367 r_table = model._meta.db_table 368 368 r_col = model._meta.get_field(f.rel.field_name).column 369 r_name = '%s_refs_%s_%x' % (col, r_col, abs(hash( table, r_table)))369 r_name = '%s_refs_%s_%x' % (col, r_col, abs(hash((table, r_table)))) 370 370 output.append('%s %s %s %s;' % \ 371 371 (style.SQL_KEYWORD('ALTER TABLE'),
