magic-removal: changed explicit settings import to qualified settings import in django.templatetags.i18n

git-svn-id: http://code.djangoproject.com/svn/django/branches/magic-removal@1991 bcc190cf-cafb-0310-a4f2-bffc1f526a37
This commit is contained in:
Georg Bauer 2006-01-16 14:59:40 +00:00
parent 42350ba71a
commit bae1f6815b
1 changed files with 2 additions and 2 deletions

View File

@ -11,8 +11,8 @@ class GetAvailableLanguagesNode(Node):
self.variable = variable self.variable = variable
def render(self, context): def render(self, context):
from django.conf.settings import LANGUAGES from django.conf import settings
context[self.variable] = LANGUAGES context[self.variable] = settings.LANGUAGES
return '' return ''
class GetCurrentLanguageNode(Node): class GetCurrentLanguageNode(Node):