Skip to content


Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Fixed #2235 -- corrected a couple of typos pointed out by jvinet@zero…


git-svn-id: bcc190cf-cafb-0310-a4f2-bffc1f526a37
  • Loading branch information...
commit 25ffce4c835e9c739347ac95bba621e46ad2f31b 1 parent 2211edd
@malcolmt malcolmt authored
Showing with 2 additions and 2 deletions.
  1. +2 −2 docs/templates_python.txt
4 docs/templates_python.txt
@@ -783,7 +783,7 @@ Our earlier ``current_time`` function could thus be written like this::
In Python 2.4, the decorator syntax also works::
- @simple_tag
+ @register.simple_tag
def do_current_time(token):
@@ -844,7 +844,7 @@ loader, we'd register the tag like this::
As always, Python 2.4 decorator syntax works as well, so we could have
- @inclusion_tag('results.html')
+ @register.inclusion_tag('results.html')
def show_results(poll):
Please sign in to comment.
Something went wrong with that request. Please try again.