misc: disable l10n by default in templated URLs (#25695)
This commit is contained in:
parent
c5f7d9ec3a
commit
ccd3cd19d7
|
@ -34,7 +34,7 @@ class TemplateError(Exception):
|
|||
def get_templated_url(url, context=None):
|
||||
if '{{' not in url and '{%' not in url and '[' not in url:
|
||||
return url
|
||||
template_vars = Context()
|
||||
template_vars = Context(use_l10n=False)
|
||||
if context:
|
||||
template_vars.update(context)
|
||||
template_vars['user_email'] = ''
|
||||
|
|
Loading…
Reference in New Issue