Skip to content

Commit e7a91d3

Browse files
Added note to 'If you don't need internationalization' section of docs/i18n.txt about removing the i18n context processor
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3608 bcc190cf-cafb-0310-a4f2-bffc1f526a37
1 parent 5334867 commit e7a91d3

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

docs/i18n.txt

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -48,9 +48,10 @@ bit of i18n-related overhead in certain places of the framework. If you don't
4848
use internationalization, you should take the two seconds to set
4949
``USE_I18N = False`` in your settings file. If ``USE_I18N`` is set to
5050
``False``, then Django will make some optimizations so as not to load the
51-
internationalization machinery.
51+
internationalization machinery. See the `documentation for USE_I18N`_.
5252

53-
See the `documentation for USE_I18N`_.
53+
You'll probably also want to remove ``'django.core.context_processors.i18n'``
54+
from your ``TEMPLATE_CONTEXT_PROCESSORS`` setting.
5455

5556
.. _documentation for USE_I18N: http://www.djangoproject.com/documentation/settings/#use-i18n
5657

0 commit comments

Comments
 (0)