Ticket #2098: syncdb_ordering_fields.patch

File syncdb_ordering_fields.patch, 518 bytes (added by Alex Dedul, 18 years ago)
  • management.py

     
    923923                    field_name = field_name[1:]
    924924                if opts.order_with_respect_to and field_name == '_order':
    925925                    continue
     926                if "." in field_name: continue
    926927                try:
    927928                    opts.get_field(field_name, many_to_many=False)
    928929                except models.FieldDoesNotExist:
Back to Top