1
0
mirror of https://github.com/django/django.git synced 2025-11-07 07:15:35 +00:00

Fixed #18634 -- Don't escape variables in the context for startproject/startapp.

The & symbols which can come up in the secret key were
being escaped to &.
This commit is contained in:
Marc Tamlyn
2012-07-16 23:26:31 +01:00
committed by Florian Apolloner
parent 59d99772f0
commit a875f612e0
4 changed files with 31 additions and 1 deletions

View File

@@ -115,7 +115,7 @@ class TemplateCommand(BaseCommand):
context = Context(dict(options, **{
base_name: name,
base_directory: top_dir,
}))
}), autoescape=False)
# Setup a stub settings environment for template rendering
from django.conf import settings