Opened 10 years ago

Closed 10 years ago

Last modified 9 years ago

#311 closed defect (fixed)

[patch] Update defaulttags.py docstrings to match docs/templates.txt

Reported by: rmunn@… Owned by: adrian
Component: contrib.admin Version:
Severity: trivial Keywords:
Cc: Triage Stage: Unreviewed
Has patch: yes Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: UI/UX:

Description

Changeset [441] removed the Janet Reno example from docs/templates.txt. While I'm sorry to see that example go, as it made me laugh, I can understand the rationale. If that goes, then the corresponding change should be made to django/core/defaulttags.py:

Index: django/core/defaulttags.py
===================================================================
--- django/core/defaulttags.py  (revision 492)
+++ django/core/defaulttags.py  (working copy)
@@ -637,7 +637,7 @@
             * Margaret Thatcher
             * Colendeeza Rice
         * Unknown:
-            * Janet Reno
+            * Pat Smith

     The following snippet of template code would accomplish this dubious task::

Change History (1)

comment:1 Changed 10 years ago by adrian

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

(In [496]) Fixed #311 -- Small change to docstring. Thanks, rmunn

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