#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