summaryrefslogtreecommitdiff
path: root/django
diff options
context:
space:
mode:
authorChris Beaven <smileychris@gmail.com>2011-02-21 18:45:46 +0000
committerChris Beaven <smileychris@gmail.com>2011-02-21 18:45:46 +0000
commit58c4aca37090c741e8188b47750ceafdcd2b74b5 (patch)
treea52754321e2c4aade787964b430b89b223f69b4b /django
parent5baa06ecfef0e3cfa5ce8bc04b66f63404ca571d (diff)
downloaddjango-58c4aca37090c741e8188b47750ceafdcd2b74b5.tar.gz
Remove reference to use_l10n which snuck in from a backport from trunk.
git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.2.X@15618 bcc190cf-cafb-0310-a4f2-bffc1f526a37
Diffstat (limited to 'django')
-rw-r--r--django/template/context.py6
1 files changed, 2 insertions, 4 deletions
diff --git a/django/template/context.py b/django/template/context.py
index 4aa454edce..2f8e2200a8 100644
--- a/django/template/context.py
+++ b/django/template/context.py
@@ -89,8 +89,7 @@ class Context(BaseContext):
def _new(self):
return self.__class__(autoescape=self.autoescape,
- current_app=self.current_app,
- use_l10n=self.use_l10n)
+ current_app=self.current_app)
def update(self, other_dict):
"Like dict.update(). Pushes an entire dictionary's keys and values onto the context."
@@ -170,5 +169,4 @@ class RequestContext(Context):
def _new(self):
return self.__class__(request=HttpRequest(),
- current_app=self.current_app,
- use_l10n=self.use_l10n)
+ current_app=self.current_app)