#311 closed defect (fixed)
[patch] Update defaulttags.py docstrings to match docs/templates.txt
| Reported by: | Owned by: | Adrian Holovaty | |
|---|---|---|---|
| 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: | no | UI/UX: | no |
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::
Note:
See TracTickets
for help on using tickets.
(In [496]) Fixed #311 -- Small change to docstring. Thanks, rmunn