How to locate websocketbridge.js in Django using channels websocket?

前端 未结 2 1106
广开言路
广开言路 2021-01-21 14:23

I am trying to implement websockets using channels in Django project. I am getting 404 for webscoketbridge.js Below is html template. {% load staticfiles %}

2条回答
  •  无人共我
    2021-01-21 14:59

    The javascript bridge was removed in v2.1.4. Here's the commit: https://github.com/django/channels/commit/2a9d764ad03927581aa2bfcadccc3e953949cb98#diff-b582cbb2f8294afa8bbe26c4c360a01d

    This bit me, in my book that breaks semantic versioning.

提交回复
热议问题