Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

[1.1.X] Fixed #12135 -- Clarified custom template tag example. Thanks…

… to EvilDMP for the report, and timo for the patch.

Backport of r13220 from trunk.

git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.1.X@13225 bcc190cf-cafb-0310-a4f2-bffc1f526a37
  • Loading branch information...
commit 45f5e0c980bd0e6387f5d4041677a027677fb785 1 parent 61beb45
Russell Keith-Magee authored May 10, 2010

Showing 1 changed file with 1 addition and 1 deletion. Show diff stats Hide diff stats

  1. 2  docs/howto/custom-template-tags.txt
2  docs/howto/custom-template-tags.txt
@@ -751,7 +751,7 @@ like so:
751 751
 
752 752
 .. code-block:: html+django
753 753
 
754  
-    {% get_current_time "%Y-%M-%d %I:%M %p" as my_current_time %}
  754
+    {% current_time "%Y-%M-%d %I:%M %p" as my_current_time %}
755 755
     <p>The current time is {{ my_current_time }}.</p>
756 756
 
757 757
 To do that, you'll need to refactor both the compilation function and ``Node``

0 notes on commit 45f5e0c

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