Opened 5 years ago

Closed 5 years ago

Last modified 3 years ago

#10423 closed (fixed)

Incorrect docstring (typo) for AdminSite.admin_view

Reported by: gremmie Owned by: gremmie
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:


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/

Attachments (1)

admin_view_10423.diff (569 bytes) - added by gremmie 5 years ago.

Download all attachments as: .zip

Change History (6)

comment:1 Changed 5 years ago by jacob

  • milestone changed from 1.1 beta to 1.1
  • Needs documentation unset
  • Needs tests unset
  • Patch needs improvement unset
  • Triage Stage changed from Unreviewed to Accepted

Changed 5 years ago by gremmie

comment:2 Changed 5 years ago by gremmie

  • Has patch set
  • Owner changed from nobody to gremmie
  • Status changed from new to assigned

comment:3 Changed 5 years ago by Alex

  • Triage Stage changed from Accepted to Ready for checkin

comment:4 Changed 5 years ago by Alex

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

Fixed in r10410

comment:5 Changed 3 years ago by jacob

  • milestone 1.1 deleted

Milestone 1.1 deleted

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.