Useful Django Commands
A collection of useful django commands that are used on a daily basis.
Create migrations
Apply migrations
Create superuser
Change user password
Clear all data
Revert to a previous migration
0033_name_of_migration
and move the db one step back. It is safe to delete the migration file after. It is also possible to just provide the first 4 numbers of the migration and not provide the full name.
Create fixutres
.json
file.
Load fixutres
Start interactive terminal