Re: How to create two different login system

2018-12-14 Thread maunish dave
What if a normal user creates an account for manager instead of creating account for manager how to stop a normal user from creating a manager account? On Fri 14 Dec, 2018, 12:50 PM Manjunath, wrote: > There are multiple options to maintain different kind of users in Django. > > When I came acro

Re: How to create two different login system

2018-12-13 Thread Manjunath
There are multiple options to maintain different kind of users in Django. When I came across this situation, I created a custom User class by inheriting AbstractBaseUser class and kept a positive integer field to maintain the type of user. Then I created Sub-classes Manager & Employee classes.

Re: How to create two different login system

2018-12-13 Thread Mike Dewhirst
On 14/12/2018 5:28 PM, maunish dave wrote: My project contains two user one for managers and other for employees any suggestions? Django contrib.auth already has groups and I use them for deciding what they can see vertically. Horizontally I use the ordinary relational mewchanisms. Here is

How to create two different login system

2018-12-13 Thread maunish dave
My project contains two user one for managers and other for employees any suggestions? -- 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 django-users+unsubscr...@g