Opened 8 years ago

Closed 8 years ago

Last modified 5 years ago

#7827 closed (duplicate)

Admin change_view uses _default_manager in place of self.queryset()

Reported by: Alex Gaynor Owned by: nobody
Component: contrib.admin Version: master
Severity: Keywords:
Cc: Triage Stage: Unreviewed
Has patch: yes Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: UI/UX:

Description

The admin change_view uses self.model._default_manager in place of self.queryset(request).

Attachments (2)

admin-qs.diff (1.0 KB) - added by Alex Gaynor 8 years ago.
Problem also exists in the delete_view, this fixes both.
admin-qs.2.diff (4.0 KB) - added by Alex Gaynor 8 years ago.
Added some tests

Download all attachments as: .zip

Change History (5)

Changed 8 years ago by Alex Gaynor

Attachment: admin-qs.diff added

Problem also exists in the delete_view, this fixes both.

comment:1 Changed 8 years ago by Alex Gaynor

Has patch: set
Needs documentation: unset
Needs tests: unset
Patch needs improvement: unset

Changed 8 years ago by Alex Gaynor

Attachment: admin-qs.2.diff added

Added some tests

comment:2 Changed 8 years ago by Alex Gaynor

Resolution: duplicate
Status: newclosed

This is a dupe of #7510.

comment:3 Changed 5 years ago by Jacob

milestone: 1.0

Milestone 1.0 deleted

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