Ticket #10619: admin-validation-typo.diff
File admin-validation-typo.diff, 743 bytes (added by , 16 years ago) |
---|
-
django/contrib/admin/validation.py
76 76 field = opts.get_field_by_name(field_name)[0] 77 77 except models.FieldDoesNotExist: 78 78 raise ImproperlyConfigured("'%s.list_editable[%d]' refers to a " 79 "field, '%s', not defi end on %s."79 "field, '%s', not defined on %s." 80 80 % (cls.__name__, idx, field_name, model.__name__)) 81 81 if field_name not in cls.list_display: 82 82 raise ImproperlyConfigured("'%s.list_editable[%d]' refers to "