简体   繁体   中英

How do I use Django Command Extensions with a new Eclipse/Pydev run configuration

When I create new run configurations in Eclipse it creates a run command like the following: python.exe -u manage.py runscript my_script.py , regardless of whether I try making a Python Run config, or a Django run config.

How do I make it run python.exe manage.py runscript my_script.py instead? (no -u switch).

I've assumed the -u is why it's breaking, as running python.exe manage.py runscript my_script.py works just fine from a plain old bash prompt.

Try "run -> run..." and then edit the arguments.

http://www.cs.colostate.edu/helpdocs/cmd.pdf

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM