Created
June 27, 2017 16:23
-
-
Save augustogoulart/8a435c6419a4d497ba8665e30390a474 to your computer and use it in GitHub Desktop.
Example of some django aliases
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
alias manage='python $(cat $(echo $VIRTUAL_ENV/.project))/manage.py' | |
alias test='python $(cat $(echo $VIRTUAL_ENV/.project))/manage.py test' | |
alias runserver='python $(cat $(echo $VIRTUAL_ENV/.project))/manage.py runserver' | |
alias makemigrations='python $(cat $(echo $VIRTUAL_ENV/.project))/manage.py makemigrations' | |
alias migrate='python $(cat $(echo $VIRTUAL_ENV/.project))/manage.py migrate' | |
alias shell='python $(cat $(echo $VIRTUAL_ENV/.project))/manage.py shell' | |
alias shellp='python $(cat $(echo $VIRTUAL_ENV/.project))/manage.py shell_plus' | |
alias createsuperuser='python $(cat $(echo $VIRTUAL_ENV/.project))/manage.py createsuperuser' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment