Opened 7 years ago

Closed 7 years ago

#3803 closed (fixed)

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

Reported by: estelle@… Owned by: adrian
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@… 7 years ago.

Download all attachments as: .zip

Change History (3)

Changed 7 years ago by estelle@…


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

  • Needs documentation unset
  • Needs tests unset
  • Patch needs improvement unset
  • Triage Stage changed from Unreviewed to Ready for checkin

comment:2 Changed 7 years ago by adrian

  • Resolution set to fixed
  • Status changed from new to closed

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

Add Comment

Modify Ticket

Change Properties
<Author field>
as closed
as The resolution will be set. Next status will be 'closed'
The resolution will be deleted. Next status will be 'new'

E-mail address and user name can be saved in the Preferences.

Note: See TracTickets for help on using tickets.