Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

Fixed #12135 -- Clarified custom template tag example. Thanks to Evil…

…DMP for the report, and timo for the patch.

git-svn-id: http://code.djangoproject.com/svn/django/trunk@13220 bcc190cf-cafb-0310-a4f2-bffc1f526a37
  • Loading branch information...
commit a0cf7f4bb9e966e7d225c43fe087097ee3ebcc85 1 parent fed660e
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
@@ -827,7 +827,7 @@ like so:
827 827
 
828 828
 .. code-block:: html+django
829 829
 
830  
-    {% get_current_time "%Y-%M-%d %I:%M %p" as my_current_time %}
  830
+    {% current_time "%Y-%M-%d %I:%M %p" as my_current_time %}
831 831
     <p>The current time is {{ my_current_time }}.</p>
832 832
 
833 833
 To do that, you'll need to refactor both the compilation function and ``Node``

0 notes on commit a0cf7f4

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