Opened 16 years ago

Closed 16 years ago

Last modified 13 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: dev
Severity: Keywords:
Cc: Triage Stage: Unreviewed
Has patch: yes Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: no UI/UX: no

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 16 years ago.
Problem also exists in the delete_view, this fixes both.
admin-qs.2.diff (4.0 KB ) - added by Alex Gaynor 16 years ago.
Added some tests

Download all attachments as: .zip

Change History (5)

by Alex Gaynor, 16 years ago

Attachment: admin-qs.diff added

Problem also exists in the delete_view, this fixes both.

comment:1 by Alex Gaynor, 16 years ago

Has patch: set

by Alex Gaynor, 16 years ago

Attachment: admin-qs.2.diff added

Added some tests

comment:2 by Alex Gaynor, 16 years ago

Resolution: duplicate
Status: newclosed

This is a dupe of #7510.

comment:3 by Jacob, 13 years ago

milestone: 1.0

Milestone 1.0 deleted

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