Re: reg: Django model sequense of the fields

2019-05-18 Thread 'Akash Sinha' via Django users
Position doesn't matters. On Fri, May 17, 2019 at 7:12 PM, Test Bot wrote: [Just Curious] would it matter in any way what the position of field is in the respective tables. On Fri, May 17, 2019, 5:46 PM 'Akash Sinha' via Django users wrote: Hello  This happens for 2 reasons 1st. Those

Django permissions framework vs DRF permissions

2019-05-18 Thread Rounak Jain
Newbie here. I want to create hierarchical permissions in Django, very similar to one described here: https://stackoverflow.com/questions/49300215/django-hierarchy-permissions I have read about Django permissions framework and https://github.com/vintasoftware/django-role-permissions I don't un

Re: How to

2019-05-18 Thread Balaji Shetty
Hello Nelson Varela . Thank you very Much for your reply. One more query - Should i check the permission ( by writing the extra code ) for extra Security. Definitely Your solution works well for me. I have implemented the same logic. But i want to know through the code On Fri, May 17, 2019

Implementing multiple session support in a chatbot

2019-05-18 Thread Parth Sharma
I am currently implementing a Chatbot purely in python. In my current implementation, each time the user starts a new chat from a session, another Chatbot instance is launched and hence the Chatbot starts from the initial state. I wish to change that behaviour and make it similar to let’s say

Learning Djanog Use book

2019-05-18 Thread Rana Solving31
Have anyone better book on Django latest version 2.2 ? which is free version ,means without paid ,if i can download this. -- 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

Re: Django permissions framework vs DRF permissions

2019-05-18 Thread Aldian Fazrihady
Hi, based on my experience, I can create DRF permission based on HTTP methods. Django permissions by default are tightly related to ORM models. DRF permission can be totally unrelated to ORM models. Regards, Aldian Fazrihady On Sat, 18 May 2019, 16:13 Rounak Jain, wrote: > Newbie here. I wa

Re: Implementing multiple session support in a chatbot

2019-05-18 Thread Chetan Ganji
What you need is to implement 2 design patterns in your django app. Which ones? 1. *Singleton* Design Pattern for the Chatbot. All the users and all of their sessions are using the same chatbot instance. Why? Because when a new session is created for a user, he will be referring to the same chat