[Django Code] #6732: Typo in templates_python.txt: "must" missing between "module" and "contain"

0 views
Skip to first unread message

Django Code

unread,
Mar 6, 2008, 6:38:10 PM3/6/08
to djang...@holovaty.com, ja...@jacobian.org, django-...@googlegroups.com
#6732: Typo in templates_python.txt: "must" missing between "module" and "contain"
------------------------------------------+---------------------------------
Reporter: Atul Varma <var...@gmail.com> | Owner: nobody
Status: new | Component: Documentation
Version: SVN | Keywords:
Stage: Unreviewed | Has_patch: 0
------------------------------------------+---------------------------------
Patch follows below; the diff is bigger than it should be because I had to
re-wrap the lines.

{{{
Index: docs/templates_python.txt
===================================================================
--- docs/templates_python.txt (revision 7195)
+++ docs/templates_python.txt (working copy)
@@ -629,9 +629,10 @@
Once you've created that Python module, you'll just have to write a bit
of
Python code, depending on whether you're writing filters or tags.

-To be a valid tag library, the module contain a module-level variable
named
-``register`` that is a ``template.Library`` instance, in which all the
tags and
-filters are registered. So, near the top of your module, put the
following::
+To be a valid tag library, the module must contain a module-level
variable
+named ``register`` that is a ``template.Library`` instance, in which all
the
+tags and filters are registered. So, near the top of your module, put the
+following::

from django import template

}}}

--
Ticket URL: <http://code.djangoproject.com/ticket/6732>
Django Code <http://code.djangoproject.com/>
The web framework for perfectionists with deadlines

Django Code

unread,
Mar 7, 2008, 10:03:36 AM3/7/08
to djang...@holovaty.com, ja...@jacobian.org, django-...@googlegroups.com
#6732: Typo in templates_python.txt: "must" missing between "module" and "contain"
---------------------------------------------+------------------------------
Reporter: Atul Varma <var...@gmail.com> | Owner: nobody
Status: new | Component: Documentation
Version: SVN | Resolution:
Keywords: | Stage: Ready for checkin
Has_patch: 1 | Needs_docs: 0
Needs_tests: 0 | Needs_better_patch: 0
---------------------------------------------+------------------------------
Changes (by thejaswi_puthraya):

* needs_better_patch: => 0
* has_patch: 0 => 1
* stage: Unreviewed => Ready for checkin
* needs_tests: => 0
* needs_docs: => 0

Comment:

Converted the description into a patch.

--
Ticket URL: <http://code.djangoproject.com/ticket/6732#comment:1>
Reply all
Reply to author
Forward
0 new messages