Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

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 authored

Showing 1 changed file with 3 additions and 2 deletions. Show diff stats Hide diff stats

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

0 notes on commit 448bece

Please sign in to comment.
Something went wrong with that request. Please try again.