Opened 15 years ago

Closed 15 years ago

Last modified 12 years ago

#10423 closed (fixed)

Incorrect docstring (typo) for AdminSite.admin_view

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

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 15 years ago.

Download all attachments as: .zip

Change History (6)

comment:1 by Jacob, 15 years ago

milestone: 1.1 beta1.1
Triage Stage: UnreviewedAccepted

by Brian Neal, 15 years ago

Attachment: admin_view_10423.diff added

comment:2 by Brian Neal, 15 years ago

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

comment:3 by Alex Gaynor, 15 years ago

Triage Stage: AcceptedReady for checkin

comment:4 by Alex Gaynor, 15 years ago

Resolution: fixed
Status: assignedclosed

Fixed in r10410

comment:5 by Jacob, 12 years ago

milestone: 1.1

Milestone 1.1 deleted

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