python-django.el
python-django.el copied to clipboard
easier way to run specific commands with many args?
First thanks for the great app.
I used to M-x pdb; python manage.py runserver 0.0.0.0:8000
Now, to restart the server with python-django, C-x j; m; runserver; 0.0.0.0:8000; which is quite a more work.
Is there an easier way to run management commands (such as 'run last command') ?
pcompassion [email protected] writes:
First thanks for the great app.
I used to M-x pdb; python manage.py runserver 0.0.0.0:8000
Now, to restart the server with python-django, C-x j; m; runserver; 0.0.0.0:8000; which is quite a more work.
Well, using "k" to kill the runserver (if that's the last command issued) and "crr" (a quick management shortcut for runserver) you can do pretty much that.
Is there an easier way to run management commands (such as 'run last command') ?
I found myself in the need for something similar before, I'll see what I can come up with, but don't hold your breath as I have limited time to hack on this.
Regards, Fabián.