1
0
mirror of https://github.com/django/django.git synced 2025-10-26 07:06:08 +00:00

Added USE_I18N setting, which lets you turn off internationalization overhead with a single setting. Defaults to True. Currently only affects the admin i18n JavaScript, but I'll be adding other optimizations.

git-svn-id: http://code.djangoproject.com/svn/django/trunk@3247 bcc190cf-cafb-0310-a4f2-bffc1f526a37
This commit is contained in:
Adrian Holovaty
2006-07-01 03:09:14 +00:00
parent c81d69354a
commit 4a324ba7ac
5 changed files with 44 additions and 3 deletions

View File

@@ -67,6 +67,10 @@ LANGUAGES = (
# Languages using BiDi (right-to-left) layout
LANGUAGES_BIDI = ("he",)
# If you set this to False, Django will make some optimizations so as not
# to load the internationalization machinery.
USE_I18N = True
# Not-necessarily-technical managers of the site. They get broken link
# notifications and other various e-mails.
MANAGERS = ADMINS