2022-03-07

Shell aliases for Django

My .zshrc aliases for Django

alias runserver="python manage.py runserver"
 
alias makemigrations="python manage.py makemigrations"
 
alias migrate="python manage.py migrate"
 
alias collectstatic="python manage.py collectstatic"
 
# pip install django-extensions [ipython]
alias shellplus="python manage.py shell_plus [--ipython]"