Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save drobati/961020 to your computer and use it in GitHub Desktop.
Save drobati/961020 to your computer and use it in GitHub Desktop.
launch-django-shells.el
(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