django配置https

1.

pip install django-extensions

pip install django-werkzeug-debugger-runserver

pip install pyOpenSSL

2.

settings.py

INSTALLED_APPS=[

  ...

  'werkzeug_debugger_runserver',

  'django_extensions',

]

3.

python manage.py runserver_plus --cert server.crt 127.0.0.1:7000

上一篇:OpenCV特征点提取----Fast特征


下一篇:Python Socket单线程+阻塞模式