Re: How to inherit the user model in two apps in django rest,

2019-03-26 Thread jgibson
I'm not exactly sure what is happening with your models but a few places to investigate are these: Since you are using `AbstractBaseUser` rather than `AbstractUser`: * Looking at your code it seems like you missed assigning the *`USERNAME_FIELD`* * You did not set your identifier (which I

How to inherit the user model in two apps in django rest,

2019-03-26 Thread Shubham Joshi
I want to create 2 separate signup form 1 for teacher and 1 for a student for that I created 2 apps and its respective models but it gives an error https://github.com/shubham1507/school == ERRORS: auth.User.groups: (fields.E304) Reverse accessor for 'User.groups' clashes with