-
pattern:
**/migrations/000*_*.py
-
Reference (where code comes from)
- Django creates migration files everytime the
makemigrations
command is run to keep track of changes made upon the database schema used
- Django creates migration files everytime the
-
Reason for inclusion:
-
It keeps track of all the changes and migrations made on the database models
-
It helps multiple developers use a common database schema when developing the app and prevent them from committing conflicting changes to the database models
-
See more detailed reasons here:
-
-
Files:
-
Reference (where code comes from)
- Automatically created by Django when first starting a Django project
-
Reason for inclusion:
-
manage.py
manages all the CLI commands Django provides, such asrunserver
to start the Django servermakemigrations
to create migration files for the DB modelmigrate
to make the migrations to the DB- etc.
-
asgi.py
andwsgi.py
serve as entry points for ASGI and WSGI servers respectively
-