Skip to content

Commit

Permalink
Remove reference to use_l10n which snuck in from a backport from trunk.
Browse files Browse the repository at this point in the history
git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.2.X@15618 bcc190cf-cafb-0310-a4f2-bffc1f526a37
  • Loading branch information
SmileyChris committed Feb 21, 2011
1 parent 5baa06e commit 58c4aca
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions django/template/context.py
Expand Up @@ -89,8 +89,7 @@ def __copy__(self):

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."
Expand Down Expand Up @@ -170,5 +169,4 @@ def __init__(self, request, dict=None, processors=None, current_app=None):

def _new(self):
return self.__class__(request=HttpRequest(),
current_app=self.current_app,
use_l10n=self.use_l10n)
current_app=self.current_app)

0 comments on commit 58c4aca

Please sign in to comment.