Back to The Void

Django Cheat Sheet

January 30th 2022

I’ve recently started to explore the Django framework more and with this I’ve found a couple lines of code that are crucial to running your Django app. Listed below are some of the commands that I think are most useful and helpful:


GitBash Commands:
python manage.py runserver
➡️ Run django project on localhost:8000

python manage.py createsuperuser
➡️ Create superuser for admin page

python manage.py changepassword
➡️ Change superuser password

Bash Terminal Commands:
winpty python manage.py createsuperuser
➡️ Create superuser for admin page

winpty python manage.py changepassword {NAME-OF-USER}
➡️ Change superuser password