mirror of
https://github.com/django/django.git
synced 2025-07-04 09:49:12 +00:00
Fixed manytoones in change_lists, cheers garthk
git-svn-id: http://code.djangoproject.com/svn/django/branches/new-admin@1178 bcc190cf-cafb-0310-a4f2-bffc1f526a37
This commit is contained in:
parent
5bba260dcc
commit
fc16ea49f9
@ -131,7 +131,6 @@ def result_headers(cl):
|
||||
yield {"text": header}
|
||||
else:
|
||||
if isinstance(f.rel, meta.ManyToOne) and f.null:
|
||||
raw_template.append('<th>%s</th>' % capfirst(f.verbose_name))
|
||||
yield {"text": f.verbose_name}
|
||||
else:
|
||||
th_classes = []
|
||||
|
Loading…
x
Reference in New Issue
Block a user