python-django.el icon indicating copy to clipboard operation
python-django.el copied to clipboard

easier way to run specific commands with many args?

Open pcompassion opened this issue 11 years ago • 1 comments

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 avatar Jan 22 '14 02:01 pcompassion

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.

fgallina avatar Feb 06 '14 13:02 fgallina