Created
January 3, 2012 19:35
-
-
Save dhepper/1556506 to your computer and use it in GitHub Desktop.
Generated aliases for Django management commands
This file contains 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
for CMD in `python -c 'from django.core import management; print " ".join(management.get_commands().keys())'` | |
do | |
alias dj${CMD}="django-admin.py ${CMD}" | |
done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment