Browse files

Fixed ReST error in docs/templates_python.txt. Thanks, EABinGA

git-svn-id: bcc190cf-cafb-0310-a4f2-bffc1f526a37
  • Loading branch information...
1 parent fc10279 commit 515ae9c1289d9bbe447e0dad196e8c35d9724804 @adrianholovaty adrianholovaty committed Nov 27, 2005
Showing with 2 additions and 3 deletions.
  1. +2 −3 docs/templates_python.txt
@@ -411,13 +411,12 @@ 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``, etc. For
+package. It should be on the same level as ``models``, ````, etc. For
- views/
Add two files to the ``templatetags`` package: an ```` file and a
file that will contain your custom tag/filter definitions. The name of the
@@ -650,7 +649,7 @@ The ``tag()`` method takes two arguments:
function as a string).
As with filter registration, it is also possible to use this as a decorator, in
-Python 2.4 and above:
+Python 2.4 and above::
def do_current_time(parser, token):

0 comments on commit 515ae9c

Please sign in to comment.