Home:ALL Converter>Django and Django channels

Django and Django channels

Ask Time:2021-06-17T03:36:54         Author:Abhinav verma

Json Formatter

I have one django project, which uses django channels as well.

Now I want to separate django channels into a separate project.

Means, one applicaton will have two django projects,

  1. Django for http request. (Django http)
  2. Django for websocket request. (Django async)

But, the problem is, if I separated both of these projects, How django async project will use models??

Note:- I want common database between both projects.

Author:Abhinav verma,eproduced under the CC 4.0 BY-SA copyright license with a link to the original source and this disclaimer.
Link to original article:https://stackoverflow.com/questions/68009039/django-and-django-channels
yy