Django comes with a number of builtin management commands, using
python manage.py [command] or, when manage.py has +x (executable) rights simply
./manage.py [command] .
The following are some of the most frequently used:
Get a list of all available commands
Run your Django server on localhost:8000; essential for local testing
Run a python (or ipython if installed) console with the Django settings of your project preloaded (attempting to access parts of your project in a python terminal without doing this will fail).
Create a new database migration file based on the changes you have made to your models. See Migrations
Apply any unapplied migrations to the current database.
Run your project's test suite. See Unit Testing
Take all of the static files of your project and puts them in the folder specified in
STATIC_ROOT so they can be served in production.
Allow to create superuser.
Change the password of a specified user.
./manage.py changepassword username