Django

Code

Ticket #10423 (closed: fixed)

Opened 2 years ago

Last modified 1 year ago

Incorrect docstring (typo) for AdminSite.admin_view

Reported by: gremmie Assigned to: gremmie
Milestone: 1.1 Component: django.contrib.admin
Version: SVN Keywords:
Cc: Triage Stage: Ready for checkin
Has patch: 1 Needs documentation: 0
Needs tests: 0 Patch needs improvement: 0

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

admin_view_10423.diff (0.6 kB) - added by gremmie on 03/07/09 12:44:33.

Change History

03/07/09 09:26:22 changed by jacob

  • needs_better_patch changed.
  • needs_docs changed.
  • stage changed from Unreviewed to Accepted.
  • needs_tests changed.
  • milestone changed from 1.1 beta to 1.1.

03/07/09 12:44:33 changed by gremmie

  • attachment admin_view_10423.diff added.

03/07/09 12:45:26 changed by gremmie

  • owner changed from nobody to gremmie.
  • status changed from new to assigned.
  • has_patch set to 1.

04/05/09 11:01:09 changed by Alex

  • stage changed from Accepted to Ready for checkin.

04/06/09 16:19:37 changed by Alex

  • status changed from assigned to closed.
  • resolution set to fixed.

Fixed in r10410


Add/Change #10423 (Incorrect docstring (typo) for AdminSite.admin_view)




Change Properties
Action