安装三方库
pip install django-extensions
pip install django-werkzeug-debugger-runserver
pip install pyOpenSSL
添加INSTALLED_APPS
INSTALLED_APPS = [
...
'werkzeug_debugger_runserver',
'django_extensions',
...
]
启动服务python manage.py runserver_plus --cert server.crt 0.0.0.0:8000