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:
parent
42350ba71a
commit
bae1f6815b
|
@ -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):
|
||||||
|
|
Loading…
Reference in New Issue