Please have a look at how Django channels implements the chat app. https://github.com/narrowfail/django-channels-chat
On Wed, Jul 20, 2022 at 7:23 PM Lakshyaraj Dash < [email protected]> wrote: > Ok I understand but currently I'm using postgresql in my app. So I need it > for that. Please help me to inject the websockets in django as I'm very > much new to it *not websockets* but to *integration of websockets in > django*. > > On Wed, Jul 20, 2022, 08:28 Abdul Qoyyuum <[email protected]> > wrote: > >> Hi Lakshyaraj, >> >> Chat app relies on quickly sending data between parties. You will need to >> build it with websockets and a redis database to publish and subscribe new >> event messages. However, this is basically reinventing the wheel versus >> using one that already exists (i.e. Django Channels). But all the best to >> you. >> >> On Wed, Jul 20, 2022 at 8:41 AM Lakshyaraj Dash < >> [email protected]> wrote: >> >>> Hello guys! >>> I'm having a discussion website in django with some sort of user >>> authentication and I want to inject chat app with rooms made by the users >>> themselves. I don't want any js framework in the frontend. Just tell me how >>> to make this type of chat app using django (not Django channels). >>> >>> Thanks and regards >>> Lakshyaraj Dash >>> >>> -- >>> You received this message because you are subscribed to the Google >>> Groups "Django users" group. >>> To unsubscribe from this group and stop receiving emails from it, send >>> an email to [email protected]. >>> To view this discussion on the web visit >>> https://groups.google.com/d/msgid/django-users/CAF7qQgD7Ryvnp%2BPp74cs6aogFz32TQiKsH71X3WGcnrPG2FDdQ%40mail.gmail.com >>> <https://groups.google.com/d/msgid/django-users/CAF7qQgD7Ryvnp%2BPp74cs6aogFz32TQiKsH71X3WGcnrPG2FDdQ%40mail.gmail.com?utm_medium=email&utm_source=footer> >>> . >>> >> >> >> -- >> Abdul Qoyyuum Bin Haji Abdul Kadir >> HP No: +673 720 8043 >> >> -- >> You received this message because you are subscribed to the Google Groups >> "Django users" group. >> To unsubscribe from this group and stop receiving emails from it, send an >> email to [email protected]. >> To view this discussion on the web visit >> https://groups.google.com/d/msgid/django-users/CAA3DN%3DUDSUnjOQTL%2BmPZn15oVnTPyUpNuG4DyukypVa9z%3DySOA%40mail.gmail.com >> <https://groups.google.com/d/msgid/django-users/CAA3DN%3DUDSUnjOQTL%2BmPZn15oVnTPyUpNuG4DyukypVa9z%3DySOA%40mail.gmail.com?utm_medium=email&utm_source=footer> >> . >> > -- > You received this message because you are subscribed to the Google Groups > "Django users" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > To view this discussion on the web visit > https://groups.google.com/d/msgid/django-users/CAF7qQgA%2BoqEqisB6djbdQ7NmTMJxczr36h6FdyF_PT0xX1G%3D8w%40mail.gmail.com > <https://groups.google.com/d/msgid/django-users/CAF7qQgA%2BoqEqisB6djbdQ7NmTMJxczr36h6FdyF_PT0xX1G%3D8w%40mail.gmail.com?utm_medium=email&utm_source=footer> > . > -- Abdul Qoyyuum Bin Haji Abdul Kadir HP No: +673 720 8043 -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/CAA3DN%3DUbifEnMGUKpTYGeMWKuaB%2BmpM0-tBwM27CZau%3DiWBepQ%40mail.gmail.com.

