1
0
mirror of https://github.com/django/django.git synced 2024-12-22 17:16:24 +00:00

Fixed #23899 -- Added 'Generated by Django X.Y' to startproject template.

This commit is contained in:
Martin Blech 2014-11-24 16:11:55 -03:00 committed by Tim Graham
parent 9a30acad8a
commit 4c123d0f79
2 changed files with 3 additions and 0 deletions

View File

@ -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/

View File

@ -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