1
0
mirror of https://github.com/django/django.git synced 2025-07-05 02:09:13 +00:00

mod fix in result_headers

git-svn-id: http://code.djangoproject.com/svn/django/branches/new-admin@1072 bcc190cf-cafb-0310-a4f2-bffc1f526a37
This commit is contained in:
Robert Wittams 2005-11-04 13:39:10 +00:00
parent 33640b247a
commit 27ef7cef10

View File

@ -120,7 +120,7 @@ def result_headers(cl):
if field_name == '__repr__':
header = lookup_opts.verbose_name
else:
func = getattr(mod.Klass, field_name) # Let AttributeErrors propogate.
func = getattr(cl.mod.Klass, field_name) # Let AttributeErrors propogate.
try:
header = func.short_description
except AttributeError: