Created
May 8, 2011 01:29
-
-
Save drobati/961020 to your computer and use it in GitHub Desktop.
launch-django-shells.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
(defvar shell-name-history nil) | |
(defun launch-django-shells (name) | |
"Launch shell and server processes for a Django project." | |
(interactive (list (read-from-minibuffer "Project Name: " (car shell-name-history) nil nil 'shell-name-history))) | |
(shell (concat "*django-" name "-shell*")) | |
(shell (concat "*django-" name "-server*"))) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment