Created
September 8, 2009 10:19
-
-
Save mpasternacki/182836 to your computer and use it in GitHub Desktop.
Smart IPython script for comfortably running Django's manage.py shell with ipython.el
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
#!/bin/sh | |
set -e | |
/bin/echo -n "Select Django project/dir, or press enter for plain ipython: " | |
read selection | |
case $selection in | |
'') exec ipython ;; | |
sj) cd /Users/japhy/Projekty/SetJam/setjam/setjam ;; | |
*) cd $selection ;; | |
esac | |
exec python manage.py shell |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment