Ticket #13039: diff
File diff, 536 bytes (added by , 15 years ago) |
---|
-
contrib/admin/templatetags/admin_list.py
diff -r 8ffdd285ba5e contrib/admin/templatetags/admin_list.py
a b 182 182 yield mark_safe(force_unicode(form[cl.model._meta.pk.name])) 183 183 184 184 def results(cl): 185 if cl.formset:185 if hasattr(cl, 'formset') and cl.formset: 186 186 for res, form in zip(cl.result_list, cl.formset.forms): 187 187 yield list(items_for_result(cl, res, form)) 188 188 else: