django里面的websocket
- django里的websocket没有人维护了,需要使用dwebsocket
websocket长连接配置
- 主要有3部分
- django里面的settings
- WEBSOCKET_FACTORY_CLASS=“dwebsocket.backends.uwsgi.factory.uWsgiWebSocketFactory”
- uwsgi.ini里面的配置
- nginx里面的配置
- django里面的settings
github上传问题
git提交代码时,出现这个错误:
“error: The requested URL returned error: 403 Forbidden while accessing https”
- 更正方法:
原来的url = https://github.com/用户名/PhoenixC.git
改为:url = https://用户名@github.com/用户名/PhoenixC.git