Skip to main content
0 votes
0 answers
92 views

As I am following the Django channels tutorial (here is the link: https://channels.readthedocs.io/en/latest/tutorial/part_2.html ), I won't post any code except the specific problem I am having. In my ...
Brian Ketelboeter's user avatar
2 votes
1 answer
54 views

I'm using the below to render model initial counts on load. consumers.py: from channels.generic.websocket import WebsocketConsumer from django.template.loader import render_to_string from myapp.models ...
user avatar
0 votes
0 answers
50 views

class SessionTakeOverAPIView(generics.GenericAPIView): """ This API view allows a human or AI to take over a chat session. The view handles session takeover validation, ...
Zahid Hassan's user avatar
0 votes
1 answer
63 views

I’m not able to run python manage.py runserver. I was able to run python manage.py migrate successfully. I even changed ASGI_APPLICATION = "MyProject.asgi.application" to ASGI_APPLICATION = &...
Cordev87's user avatar
2 votes
1 answer
66 views

I have a React application that I need to deploy, and I am considering two options for serving the production build: 1. Serving the React build directly with Django (e.g., using WhiteNoise or serving ...
Yuvraj's user avatar
  • 71
0 votes
0 answers
32 views

I'm using a m2m signal that triggers django channels, to create a realtime update on a value. It works fine but if I go to the admin and update more than one at the same time (having multiple tabs ...
Rodragon's user avatar
  • 167
0 votes
0 answers
20 views

'm using Django Channels, WebSockets, and Redis to build a real-time chat system. The problem is: If a user sends a message while the admin is logged out, the admin sometimes receives it immediately ...
Usama Javed's user avatar
0 votes
0 answers
36 views

I am wanting to use Redis queues to store updates that are sent to the Websocket, so that disconnected players (offline) who become reconnected can then be sent the queued messages. I am using the ...
keisler-au's user avatar
1 vote
1 answer
106 views

I'm building a ai chat app with Django (Channels) for the backend and Next.js for the frontend. The goal is to stream AI-generated responses chunk by chunk over a WebSocket connection — similar to how ...
Akshat Jaiswal's user avatar
0 votes
1 answer
36 views

I've made an async chatroom app for a django website based on the excellent tutorial provided by django on django channels with daphne and redis. https://channels.readthedocs.io/en/stable/tutorial/...
Jaime's user avatar
  • 121
0 votes
0 answers
72 views

I have spent the last month or so on and off trying to get the django channels notification to work. I can't get notifications to work but the chat works as expected. Here is my code... Consumers.py ...
Steve Smith's user avatar
  • 1,089
0 votes
0 answers
244 views

I recently built a Django application using Django Channels for WebSocket support. My asgi.py is set up for handling both HTTP and WebSocket connections, and everything works perfectly in development ...
I'mSRJ's user avatar
  • 341
0 votes
0 answers
29 views

My problem is a cursor position in my project. When the web socket open and at setTimeout send code to the another connection room. then my cursor position and text is not showing currently and my ...
Durgesh Kumar's user avatar
0 votes
0 answers
34 views

I am using django channels for the first time and can't wrap my head around something. Here is what I am trying to achieve; I want to create a new message in ChatConsumer which is all good and fine. ...
Shakib Khan's user avatar
0 votes
0 answers
44 views

I have a loop in a Django application where I process a list of records and send periodic progress updates to the frontend. I'm using async_to_sync from Django Channels to send messages through the ...
fabvn's user avatar
  • 1

15 30 50 per page
1
2 3 4 5
106