summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorAdrian Holovaty <adrian@holovaty.com>2006-06-07 02:38:37 +0000
committerAdrian Holovaty <adrian@holovaty.com>2006-06-07 02:38:37 +0000
commit448becefdf1e84f143720a01fd1e61869ffe4e5f (patch)
treed8168285c3ff2b3a098be08b2e8ed9809e86a77d /docs
parentb3a6348bc24de6dc7168e6c00f2d2d440b1fe748 (diff)
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
Diffstat (limited to 'docs')
-rw-r--r--docs/templates_python.txt5
1 files changed, 3 insertions, 2 deletions
diff --git a/docs/templates_python.txt b/docs/templates_python.txt
index dea5bcbee6..5e3038ebb4 100644
--- a/docs/templates_python.txt
+++ b/docs/templates_python.txt
@@ -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