summaryrefslogtreecommitdiff
path: root/django/template/context.py
diff options
context:
space:
mode:
Diffstat (limited to 'django/template/context.py')
-rw-r--r--django/template/context.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/django/template/context.py b/django/template/context.py
index 6d9efdc7ec..ba23e95ab7 100644
--- a/django/template/context.py
+++ b/django/template/context.py
@@ -69,7 +69,7 @@ def get_standard_processors():
i = path.rfind('.')
module, attr = path[:i], path[i+1:]
try:
- mod = __import__(module, '', '', [attr])
+ mod = __import__(module, {}, {}, [attr])
except ImportError, e:
raise ImproperlyConfigured, 'Error importing request processor module %s: "%s"' % (module, e)
try: