Changes between Initial Version and Version 1 of Ticket #16075


Ignore:
Timestamp:
May 23, 2011, 3:31:56 AM (14 years ago)
Author:
Jannis Leidel
Comment:

Simply put, this is a documentation issue. You need to load the template tag library first ({% load l10n %}), as mentioned here: http://docs.djangoproject.com/en/1.3/ref/templates/builtins/#l10n

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #16075

    • Property Component Template systemDocumentation
    • Property Triage Stage UnreviewedAccepted
  • Ticket #16075 – Description

    initial v1  
    44It says:
    55
     6{{{
    67    To activate or deactivate localization for a template block, use:
    78
     
    1314        {{ value }}
    1415    {% endlocalize %}
     16}}}
    1517
    1618However I always got the error message:
Back to Top