Fixed #2096 -- Fixed small error in docs/templates_python.txt. Thanks, ramiro

git-svn-id: http://code.djangoproject.com/svn/django/trunk@3093 bcc190cf-cafb-0310-a4f2-bffc1f526a37
This commit is contained in:
Adrian Holovaty 2006-06-07 02:38:37 +00:00
parent b3a6348bc2
commit 448becefdf
1 changed files with 3 additions and 2 deletions

View File

@ -502,12 +502,13 @@ Although the Django template language comes with several default tags and
filters, you might want to write your own. It's easy to do.
First, create a ``templatetags`` package in the appropriate Django app's
package. It should be on the same level as ``models``, ``views.py``, etc. For
package. It should be on the same level as ``models.py``, ``views.py``, etc. For
example::
polls/
models/
models.py
templatetags/
views.py
Add two files to the ``templatetags`` package: an ``__init__.py`` file and a
file that will contain your custom tag/filter definitions. The name of the