Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Fixed #16075 -- Corrected localize template tag docs. Thanks, Horst G…

…utmann.

git-svn-id: http://code.djangoproject.com/svn/django/trunk@16371 bcc190cf-cafb-0310-a4f2-bffc1f526a37
  • Loading branch information...
commit d77514e428fa6735525a152061cc9350c5952544 1 parent 5dc7be2
@jezdez jezdez authored
Showing with 6 additions and 0 deletions.
  1. +6 −0 docs/topics/i18n/localization.txt
View
6 docs/topics/i18n/localization.txt
@@ -355,6 +355,8 @@ This tag allows a more fine grained control of localization than
To activate or deactivate localization for a template block, use::
+ {% load l10n %}
+
{% localize on %}
{{ value }}
{% endlocalize %}
@@ -385,6 +387,8 @@ Forces localization of a single value.
For example::
+ {% load l10n %}
+
{{ value|localize }}
To disable localization on a single value, use :tfilter:`unlocalize`. To control
@@ -403,6 +407,8 @@ Forces a single value to be printed without localization.
For example::
+ {% load l10n %}
+
{{ value|unlocalize }}
To force localization of a single value, use :tfilter:`localize`. To

0 comments on commit d77514e

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