Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

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
  • Loading branch information...
commit 9107ab6e1d9b6b42fbd3729fd58ba97e86bc0e38 1 parent 286e676
Malcolm Tredinnick authored April 03, 2007

Showing 1 changed file with 4 additions and 1 deletion. Show diff stats Hide diff stats

  1. 5  django/utils/translation/__init__.py
5  django/utils/translation/__init__.py
@@ -7,7 +7,7 @@
7 7
         'ngettext_lazy', 'string_concat', 'activate', 'deactivate',
8 8
         'get_language', 'get_language_bidi', 'get_date_formats',
9 9
         'get_partial_date_formats', 'check_for_language', 'to_locale',
10  
-        'get_language_from_request', 'install']
  10
+        'get_language_from_request', 'install', 'templatize']
11 11
 
12 12
 # Here be dragons, so a short explanation of the logic won't hurt:
13 13
 # We are trying to solve two problems: (1) access settings, in particular
@@ -92,3 +92,6 @@ def get_language_from_request(request):
92 92
 def install():
93 93
     return real_install()
94 94
 
  95
+def templatize(src):
  96
+    return real_templatize(src)
  97
+

0 notes on commit 9107ab6

Please sign in to comment.
Something went wrong with that request. Please try again.