diff options
| author | Russell Keith-Magee <russell@keith-magee.com> | 2010-10-29 16:48:58 +0000 |
|---|---|---|
| committer | Russell Keith-Magee <russell@keith-magee.com> | 2010-10-29 16:48:58 +0000 |
| commit | ccc49029b8d84cf3eaaa3593df6370329f7b14e1 (patch) | |
| tree | 3e88f1a774a557cae46a7095073ccf6e05e7fff8 /docs/ref/templates | |
| parent | 269e921756371bee6d35a967bc2ffe84d1ae39eb (diff) | |
Fixed #14181 -- Added a template tag and filters to allow localization to be disabled in a template. Thanks to Benjamin Wohlwend for the work on the patch.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@14395 bcc190cf-cafb-0310-a4f2-bffc1f526a37
Diffstat (limited to 'docs/ref/templates')
| -rw-r--r-- | docs/ref/templates/builtins.txt | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/docs/ref/templates/builtins.txt b/docs/ref/templates/builtins.txt index 8e166d802f..7bb4481904 100644 --- a/docs/ref/templates/builtins.txt +++ b/docs/ref/templates/builtins.txt @@ -2113,3 +2113,12 @@ Django templates. It is slightly different from the libraries described above because you don't need to add any application to the ``INSTALLED_APPS`` setting but rather set :setting:`USE_I18N` to True, then loading it with ``{% load i18n %}``. See :ref:`specifying-translation-strings-in-template-code`. + +l10n +~~~~ + +Provides a couple of templatetags that allow control over the localization of +values in Django templates. It is slightly different from the libraries described +above because you don't need to add any application to the ``INSTALLED_APPS``; +you only need to load the library using ``{% load l10n %}``. See +:ref:`topic-l10n-templates`. |
