mirror of
https://github.com/django/django.git
synced 2024-12-23 01:25:58 +00:00
Fixed #23899 -- Added 'Generated by Django X.Y' to startproject template.
This commit is contained in:
parent
9a30acad8a
commit
4c123d0f79
@ -1,6 +1,8 @@
|
||||
"""
|
||||
Django settings for {{ project_name }} project.
|
||||
|
||||
Generated by 'django-admin startproject' using Django {{ django_version }}.
|
||||
|
||||
For more information on this file, see
|
||||
https://docs.djangoproject.com/en/{{ docs_version }}/topics/settings/
|
||||
|
||||
|
@ -109,6 +109,7 @@ class TemplateCommand(BaseCommand):
|
||||
base_name: name,
|
||||
base_directory: top_dir,
|
||||
'docs_version': docs_version,
|
||||
'django_version': django.__version__,
|
||||
}), autoescape=False)
|
||||
|
||||
# Setup a stub settings environment for template rendering
|
||||
|
Loading…
Reference in New Issue
Block a user