Questions tagged «manage.py»

12
django更改默认运行服务器端口
我想在manage.py runserver侦听器中指定可侦听的默认端口config.ini。是否有比sys.argv在内部解析manage.py并插入配置的端口更容易的修复方法? 目标是运行时./manage.py runserver不必每次都指定地址和端口,而要从中获取参数config.ini。
By using our site, you acknowledge that you have read and understand our Cookie Policy and Privacy Policy.
Licensed under cc by-sa 3.0 with attribution required.