diff options
| author | Gary Wilson Jr <gary.wilson@gmail.com> | 2008-03-08 03:19:52 +0000 |
|---|---|---|
| committer | Gary Wilson Jr <gary.wilson@gmail.com> | 2008-03-08 03:19:52 +0000 |
| commit | 444b7b28495621ff77c2e9539413bd93696c848f (patch) | |
| tree | 26912bdbfdaf06dfc0c3024954bc5041d1053834 /docs/templates_python.txt | |
| parent | 7fbebae8c8797fa7452466055b53c42d6b123811 (diff) | |
Fixed #6732 -- Added missing word "must" in `templates_python.txt` docs, thanks Atul Varma.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@7203 bcc190cf-cafb-0310-a4f2-bffc1f526a37
Diffstat (limited to 'docs/templates_python.txt')
| -rw-r--r-- | docs/templates_python.txt | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/docs/templates_python.txt b/docs/templates_python.txt index 95bbd8c03e..43ef016ed4 100644 --- a/docs/templates_python.txt +++ b/docs/templates_python.txt @@ -629,9 +629,10 @@ the given Python module name, not the name of the app. 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 |
