Ticket #2098: syncdb_ordering_fields.patch
File syncdb_ordering_fields.patch, 518 bytes (added by , 18 years ago) |
---|
-
management.py
923 923 field_name = field_name[1:] 924 924 if opts.order_with_respect_to and field_name == '_order': 925 925 continue 926 if "." in field_name: continue 926 927 try: 927 928 opts.get_field(field_name, many_to_many=False) 928 929 except models.FieldDoesNotExist: