Opened 10 years ago

Closed 10 years ago

#3803 closed (fixed)

Newforms admin bug when trying to view records - queryset()

Reported by: estelle@… Owned by: Adrian Holovaty
Component: contrib.admin Version: newforms branch
Severity: Keywords:
Cc: Triage Stage: Ready for checkin
Has patch: yes Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: UI/UX:


When trying to view the list of records in any table, the following error message occurs:

Exception Type:  	TypeError
Exception Value: 	queryset() takes exactly 2 arguments (1 given)
Exception Location: 	C:\django\django\contrib\admin\ in queryset_change, line 293

I'm very new to django and python, but this patch seems to fix the problem. Hope i submitted this correctly...

Attachments (1)

newforms_admin_queryset.diff (779 bytes) - added by estelle@… 10 years ago.

Download all attachments as: .zip

Change History (3)

Changed 10 years ago by estelle@…


comment:1 Changed 10 years ago by Gary Wilson <gary.wilson@…>

Needs documentation: unset
Needs tests: unset
Patch needs improvement: unset
Triage Stage: UnreviewedReady for checkin

comment:2 Changed 10 years ago by Adrian Holovaty

Resolution: fixed
Status: newclosed

(In [4817]) newforms-admin: Fixed #3803 -- Fixed bug in ModelAdmin queryset_add() and queryset_change() methods. Thanks, estelle@…

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