Skip to content

Instantly share code, notes, and snippets.

@dhepper
Created January 3, 2012 19:35
Show Gist options
  • Save dhepper/1556506 to your computer and use it in GitHub Desktop.
Save dhepper/1556506 to your computer and use it in GitHub Desktop.
Generated aliases for Django management commands
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