Ticket #4088: newcolumn.diff
File newcolumn.diff, 576 bytes (added by , 18 years ago) |
---|
-
django/db/models/query.py
923 923 if field.rel: # One-to-One/Many-to-one field 924 924 new_table = current_table + '__' + name 925 925 new_opts = field.rel.to._meta 926 new_column = new_opts.pk.column926 new_column = field.rel.field_name 927 927 join_column = field.column 928 928 raise FieldFound 929 929 elif path: