Django

Code

Changeset 3608

Show
Ignore:
Timestamp:
08/17/06 22:43:55 (2 years ago)
Author:
adrian
Message:

Added note to 'If you don't need internationalization' section of docs/i18n.txt about removing the i18n context processor

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • django/trunk/docs/i18n.txt

    r3439 r3608  
    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. 
    52  
    53 See the `documentation for USE_I18N`_. 
     51internationalization machinery. See the `documentation for USE_I18N`_. 
     52 
     53You'll probably also want to remove ``'django.core.context_processors.i18n'`` 
     54from your ``TEMPLATE_CONTEXT_PROCESSORS`` setting. 
    5455 
    5556.. _documentation for USE_I18N: http://www.djangoproject.com/documentation/settings/#use-i18n