Commit 4c123d0f authored by Martin Blech's avatar Martin Blech Committed by Tim Graham
Browse files

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

parent 9a30acad
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
"""
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/

+1 −0
Original line number Diff line number Diff line
@@ -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