summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorMalcolm Tredinnick <malcolm.tredinnick@gmail.com>2007-05-14 11:56:20 +0000
committerMalcolm Tredinnick <malcolm.tredinnick@gmail.com>2007-05-14 11:56:20 +0000
commit3916cfbaff3b0b41d977a5efb6a9d9b41b067d90 (patch)
tree2ebe5307f571baf7dc455151091d4a70d982890c /tests
parenta4adfd780a9200dff527489b23383b89a8c2edab (diff)
downloaddjango-3916cfbaff3b0b41d977a5efb6a9d9b41b067d90.tar.gz
unicode: Replaced all implicit uses of _() from builtins with explicitly
importing ugettext and aliasing it to _. Refs #2920. git-svn-id: http://code.djangoproject.com/svn/django/branches/unicode@5230 bcc190cf-cafb-0310-a4f2-bffc1f526a37
Diffstat (limited to 'tests')
-rw-r--r--tests/regressiontests/templates/tests.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/regressiontests/templates/tests.py b/tests/regressiontests/templates/tests.py
index c995ebd955..da1ad4f427 100644
--- a/tests/regressiontests/templates/tests.py
+++ b/tests/regressiontests/templates/tests.py
@@ -8,7 +8,7 @@ if __name__ == '__main__':
from django import template
from django.template import loader
-from django.utils.translation import activate, deactivate, install
+from django.utils.translation import activate, deactivate, install, ugettext as _
from django.utils.tzinfo import LocalTimezone
from datetime import datetime, timedelta
from unicode import unicode_tests