Kaydet (Commit) 25ffce4c authored tarafından Malcolm Tredinnick's avatar Malcolm Tredinnick

Fixed #2235 -- corrected a couple of typos pointed out by jvinet@zeroflux.org.


git-svn-id: http://code.djangoproject.com/svn/django/trunk@3205 bcc190cf-cafb-0310-a4f2-bffc1f526a37
üst 2211eddb
......@@ -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
written::
@inclusion_tag('results.html')
@register.inclusion_tag('results.html')
def show_results(poll):
...
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment