Basic commands
python manage.py runserver.
For running the Django application
python manage.py makemigrations
Updates changes made in the
models.py
. Version control of the changes are documented in the migrations
folder.python manage.py makemigrations expression
Update changes made in the
models.py
for a tab within the app, named expression
.python manage.py migrate
Ran after
python manage.py makemigrations
and applies the migrations to the database, effectively updating the database schema to match current models.python manage.py <python.script>
Run
python script
, which may upload a csv file to the database