Re: User Based role in Django

2017-06-21 Thread Jani Tiainen
Hi, User can't upgrade his group. It is your code that does it. And it is your code responsibility to track changes etc. User just may have a button on ui that invokes your code (view) but rest is really up to you. 21.6.2017 11.24 "Mannu Gupta" kirjoitti: > I meant that using your method i.e b

Re: User Based role in Django

2017-06-21 Thread Mannu Gupta
I meant that using your method i.e by making different groups . When he upgrade the group . How about making another table having user, his subscription level and changed_at field(which traces when he /upgrade the group ) Just want to know your suggestion . Mannu On Jun 21, 2017 1:48 PM, "Jani T

Re: User Based role in Django

2017-06-21 Thread Jani Tiainen
Well its your code, so yes if you write code that does it. It doesn't happen magically for you. 21.6.2017 11.15 "Mannu Gupta" kirjoitti: > Hi , > Will I be able to trace if user upgrde the subscription level ? > > Manni > > On Wed, Jun 21, 2017 at 1:41 PM, Jani Tiainen wrote: > >> Hi, >> >> We

Re: User Based role in Django

2017-06-21 Thread Mannu Gupta
Hi , Will I be able to trace if user upgrde the subscription level ? Manni On Wed, Jun 21, 2017 at 1:41 PM, Jani Tiainen wrote: > Hi, > > We have been using user groups for that. And then we check and filter out > based on given group(s). > > 21.6.2017 10.45 "Mannu Gupta" kirjoitti: > >> I wan

Re: User Based role in Django

2017-06-21 Thread Jani Tiainen
Hi, We have been using user groups for that. And then we check and filter out based on given group(s). 21.6.2017 10.45 "Mannu Gupta" kirjoitti: > I want to make a role based user in Django like the following :- > > User with Subscription level 0 will have some feature and some basic > fields li