From 3916cfbaff3b0b41d977a5efb6a9d9b41b067d90 Mon Sep 17 00:00:00 2001 From: Malcolm Tredinnick Date: Mon, 14 May 2007 11:56:20 +0000 Subject: 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 --- tests/regressiontests/templates/tests.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tests') 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 -- cgit v1.2.1