Ticket #2578: django_2578.diff
File django_2578.diff, 881 bytes (added by , 18 years ago) |
---|
-
django/core/management.py
959 959 try: 960 960 f = opts.get_field(fn) 961 961 except models.FieldDoesNotExist: 962 e.add(opts, '"admin.list_filter" refers to %r, which isn\'t a field.' % fn) 962 if not hasattr(cls, fn): 963 e.add(opts, '"admin.list_display_links" refers to %r, which isn\'t an attribute, method or property.' % fn) 963 964 if fn not in opts.admin.list_display: 964 965 e.add(opts, '"admin.list_display_links" refers to %r, which is not defined in "admin.list_display".' % fn) 965 966 # list_filter