Code

Changes between Initial Version and Version 1 of Ticket #16075


Ignore:
Timestamp:
05/23/11 01:31:56 (3 years ago)
Author:
jezdez
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 Patch needs improvement unset
    • Property Component changed from Template system to Documentation
    • Property Needs tests unset
    • Property Needs documentation unset
    • Property Triage Stage changed from Unreviewed to Accepted
  • 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: