mirror of https://github.com/django/django.git
Fixed #3900 -- Included missing function in utils/translation/__init__.py.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@4907 bcc190cf-cafb-0310-a4f2-bffc1f526a37
This commit is contained in:
parent
286e676231
commit
9107ab6e1d
|
@ -7,7 +7,7 @@ __all__ = ['gettext', 'gettext_noop', 'gettext_lazy', 'ngettext',
|
||||||
'ngettext_lazy', 'string_concat', 'activate', 'deactivate',
|
'ngettext_lazy', 'string_concat', 'activate', 'deactivate',
|
||||||
'get_language', 'get_language_bidi', 'get_date_formats',
|
'get_language', 'get_language_bidi', 'get_date_formats',
|
||||||
'get_partial_date_formats', 'check_for_language', 'to_locale',
|
'get_partial_date_formats', 'check_for_language', 'to_locale',
|
||||||
'get_language_from_request', 'install']
|
'get_language_from_request', 'install', 'templatize']
|
||||||
|
|
||||||
# Here be dragons, so a short explanation of the logic won't hurt:
|
# Here be dragons, so a short explanation of the logic won't hurt:
|
||||||
# We are trying to solve two problems: (1) access settings, in particular
|
# We are trying to solve two problems: (1) access settings, in particular
|
||||||
|
@ -92,3 +92,6 @@ def get_language_from_request(request):
|
||||||
def install():
|
def install():
|
||||||
return real_install()
|
return real_install()
|
||||||
|
|
||||||
|
def templatize(src):
|
||||||
|
return real_templatize(src)
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue