diff options
| author | Malcolm Tredinnick <malcolm.tredinnick@gmail.com> | 2007-04-03 03:08:56 +0000 |
|---|---|---|
| committer | Malcolm Tredinnick <malcolm.tredinnick@gmail.com> | 2007-04-03 03:08:56 +0000 |
| commit | 9107ab6e1d9b6b42fbd3729fd58ba97e86bc0e38 (patch) | |
| tree | 449bdfbd32fbd62a97ab33c3d898baed97194b6d /django/utils/translation/__init__.py | |
| parent | 286e676231c0de9eff97d23c1132c833d346a887 (diff) | |
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
Diffstat (limited to 'django/utils/translation/__init__.py')
| -rw-r--r-- | django/utils/translation/__init__.py | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/django/utils/translation/__init__.py b/django/utils/translation/__init__.py index 39ebd6f75a..dbb97af76c 100644 --- a/django/utils/translation/__init__.py +++ b/django/utils/translation/__init__.py @@ -7,7 +7,7 @@ __all__ = ['gettext', 'gettext_noop', 'gettext_lazy', 'ngettext', 'ngettext_lazy', 'string_concat', 'activate', 'deactivate', 'get_language', 'get_language_bidi', 'get_date_formats', '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: # We are trying to solve two problems: (1) access settings, in particular @@ -92,3 +92,6 @@ def get_language_from_request(request): def install(): return real_install() +def templatize(src): + return real_templatize(src) + |
