Re: Public and Private Chat Room Creation with Django Python Framework

2022-11-20 Thread Lakshyaraj Dash
class Room(models.Model): ... is_private = models.BooleanField(default=False) In views.py def chat_room(request): if room.is_private: return redirect ("/") else: ... On Mon, Nov 21, 2022, 04:03 Chukwudi Onwusa wrote: > Please can you help me with a sample. > Please.

Re: Public and Private Chat Room Creation with Django Python Framework

2022-11-20 Thread Chukwudi Onwusa
Please can you help me with a sample. Please. On Sun, Nov 20, 2022, 15:53 Lakshyaraj Dash wrote: > Provide is_private to the rooms model of your app. > If you make the default as true, then the room is private by default and > vice versa > > On Sun, Nov 20, 2022, 20:21 Chukwudi Onwusa wrote: >

Complex Query

2022-11-20 Thread sebasti...@gmail.com
Hello Guys, you find my question in attachment because tabs in tables are not shown when i send it in gmail. Please help me on my question who make i a complex query. Thanks in advance -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsub

Re: Public and Private Chat Room Creation with Django Python Framework

2022-11-20 Thread Lakshyaraj Dash
Provide is_private to the rooms model of your app. If you make the default as true, then the room is private by default and vice versa On Sun, Nov 20, 2022, 20:21 Chukwudi Onwusa wrote: > Greetings and good tidings! > Please how do I create with django the above mail subject(private and > public

Public and Private Chat Room Creation with Django Python Framework

2022-11-20 Thread Chukwudi Onwusa
Greetings and good tidings! Please how do I create with django the above mail subject(private and public chat room). I need help and references to work on. Thanks. -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe from this group an