summaryrefslogtreecommitdiff
path: root/django/templatetags
diff options
context:
space:
mode:
authorGeorg Bauer <gb@hugo.westfalen.de>2006-01-16 14:59:40 +0000
committerGeorg Bauer <gb@hugo.westfalen.de>2006-01-16 14:59:40 +0000
commitbae1f6815b36e08b7c4ee64aeb6fd6bde9b2de12 (patch)
treed898d9dbe8d496e1735ff3c3b96f3229ccb32316 /django/templatetags
parent42350ba71a1b27a040db8345872d0618623465c1 (diff)
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
Diffstat (limited to 'django/templatetags')
-rw-r--r--django/templatetags/i18n.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/django/templatetags/i18n.py b/django/templatetags/i18n.py
index 2e96478f46..0c601535af 100644
--- a/django/templatetags/i18n.py
+++ b/django/templatetags/i18n.py
@@ -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):