#13039 closed (invalid)
'ChangeList' object has no attribute 'formset'
| Reported by: | tangc | Owned by: | nobody |
|---|---|---|---|
| Component: | contrib.admin | Version: | dev |
| Severity: | Keywords: | results, result_list, ChangeList | |
| Cc: | Triage Stage: | Unreviewed | |
| Has patch: | yes | Needs documentation: | no |
| Needs tests: | yes | Patch needs improvement: | no |
| Easy pickings: | no | UI/UX: | no |
Description
File django/contrib/admin/templatetags/admin_list.py", line 185, in results
if cl.formset:
AttributeError: 'ChangeList' object has no attribute 'formset'
def results(cl):
if hasattr(cl, 'formset') and cl.formset:
for res, form in zip(cl.result_list, cl.formset.forms):
Attachments (1)
Change History (3)
by , 16 years ago
comment:1 by , 16 years ago
| Needs tests: | set |
|---|---|
| Resolution: | → invalid |
| Status: | new → closed |
Note:
See TracTickets
for help on using tickets.
A ticket with no description of how to trigger the error is not valid.
A patch with no tests is not very helpful.