Opened 8 years ago

Closed 8 years ago

Last modified 5 years ago

#10423 closed (fixed)

Incorrect docstring (typo) for AdminSite.admin_view

Reported by: Brian Neal Owned by: Brian Neal
Component: contrib.admin Version: master
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:

Description

The docstring for AdminSite.admin_view shows an example usage of the decorator admin_view, however in the example it is spelled "protected_view" instead of "admin_view".

This is in the file django/contrib/admin/sites.py.

Attachments (1)

admin_view_10423.diff (569 bytes) - added by Brian Neal 8 years ago.

Download all attachments as: .zip

Change History (6)

comment:1 Changed 8 years ago by Jacob

milestone: 1.1 beta1.1
Triage Stage: UnreviewedAccepted

Changed 8 years ago by Brian Neal

Attachment: admin_view_10423.diff added

comment:2 Changed 8 years ago by Brian Neal

Has patch: set
Owner: changed from nobody to Brian Neal
Status: newassigned

comment:3 Changed 8 years ago by Alex Gaynor

Triage Stage: AcceptedReady for checkin

comment:4 Changed 8 years ago by Alex Gaynor

Resolution: fixed
Status: assignedclosed

Fixed in r10410

comment:5 Changed 5 years ago by Jacob

milestone: 1.1

Milestone 1.1 deleted

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