Opened 9 years ago

Closed 9 years ago

Last modified 7 years ago

#13039 closed (invalid)

'ChangeList' object has no attribute 'formset'

Reported by: tangc Owned by: nobody
Component: contrib.admin Version: master
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


File django/contrib/admin/templatetags/", 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)

diff (536 bytes) - added by tangc 9 years ago.

Download all attachments as: .zip

Change History (3)

Changed 9 years ago by tangc

Attachment: diff added

comment:1 Changed 9 years ago by Karen Tracey

Needs tests: set
Resolution: invalid
Status: newclosed

A ticket with no description of how to trigger the error is not valid.

A patch with no tests is not very helpful.

comment:2 Changed 7 years ago by Jacob

milestone: 1.2

Milestone 1.2 deleted

Note: See TracTickets for help on using tickets.
Back to Top