Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

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
  • Loading branch information...
commit 448becefdf1e84f143720a01fd1e61869ffe4e5f 1 parent b3a6348
Adrian Holovaty adrianholovaty authored
Showing with 3 additions and 2 deletions.
  1. +3 −2 docs/templates_python.txt
5 docs/templates_python.txt
View
@@ -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
Please sign in to comment.
Something went wrong with that request. Please try again.