How to - Implement simple Websocket in a Django DRF project created with CookieCutter that sends a simple `unread_count`

I have a project created using cookiecutter-django and has a uvicorn/gunicorn setup

I am able to get a ping websocat wss://<url> -v --ping-interval=5

Now I want to create a url what out give unread_count to the request user

Is there any way of doing this without using Channels?

I am trying to get this done as simple as pissible

Back to Top