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:
committed by
Florian Apolloner
parent
59d99772f0
commit
a875f612e0
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user