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
|
||||
|
||||
def render(self, context):
|
||||
from django.conf.settings import LANGUAGES
|
||||
context[self.variable] = LANGUAGES
|
||||
from django.conf import settings
|
||||
context[self.variable] = settings.LANGUAGES
|
||||
return ''
|
||||
|
||||
class GetCurrentLanguageNode(Node):
|
||||
|
|
Loading…
Reference in New Issue