Opened 18 years ago

Closed 18 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: no UI/UX: no

Description

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\options.py 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@… 18 years ago.
Patch

Download all attachments as: .zip

Change History (3)

by estelle@…, 18 years ago

Patch

comment:1 by Gary Wilson <gary.wilson@…>, 18 years ago

Triage Stage: UnreviewedReady for checkin

comment:2 by Adrian Holovaty, 18 years ago

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