python - How to hide the console when running the django developement server? -


i want run django developement server localy , don't want use full webserver.

so far renamed manage.py manage.pyw. in manage.pyw call execute_from_command_line(['manage.py', 'runserver'])

in batch file use "start pythonw manage.pyw"

the problem is, cannot connect server though in taskmanager says it's still running. when start using python instead, runs, console window visible.

i found way this. used windows service wrapper https://github.com/kohsuke/winsw install python manage.py runserver service.


Comments

Popular posts from this blog

javascript - Google App Script ContentService downloadAsFile not working -

javascript - IIFE: var vs this - is there any difference? -

r - Grow a ffdf data frame on disk gradually -