The django-admin startproject <name>
command renders the project template.
The ./manage.py startapp <name>
command renders the app template.
- https://github.com/django/django/tree/3.2.14/django/conf/project_template
- https://github.com/django/django/tree/3.2.14/django/conf/app_template
The Python files there are named with a -TPL
extension to prevent *.pyc
(bytecode) files from being generated. The template loading logic strips it off.
The template renderer will populate the following tags:
- {{ django_version }}
- {{ docs_version }}
- {{ project_name }}
- {{ secret_key }}