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
This commit is contained in:
Chris Beaven 2011-02-21 18:45:46 +00:00
parent 5baa06ecfe
commit 58c4aca370
1 changed files with 2 additions and 4 deletions

View File

@ -89,8 +89,7 @@ class Context(BaseContext):
def _new(self): def _new(self):
return self.__class__(autoescape=self.autoescape, return self.__class__(autoescape=self.autoescape,
current_app=self.current_app, current_app=self.current_app)
use_l10n=self.use_l10n)
def update(self, other_dict): def update(self, other_dict):
"Like dict.update(). Pushes an entire dictionary's keys and values onto the context." "Like dict.update(). Pushes an entire dictionary's keys and values onto the context."
@ -170,5 +169,4 @@ class RequestContext(Context):
def _new(self): def _new(self):
return self.__class__(request=HttpRequest(), return self.__class__(request=HttpRequest(),
current_app=self.current_app, current_app=self.current_app)
use_l10n=self.use_l10n)