Hi Motaz,
Thank you for your response.
I didn’t try that yet, however my assumption is that I would have
duplicates of fields inherited from the User class.
On Sun 24. Nov 2019 at 11:16, Motaz Hejaze wrote:
> One way around is to make the models Employee and Company to inheret from
> User
One way around is to make the models Employee and Company to inheret from
User in models.py
class Employee(User):
...
class Company(User):
...
On Sun, 24 Nov 2019, 5:33 am Underground Creatorz, <
moorestephen...@gmail.com> wrote:
> Hello all. Have a merry christmas and happy new Year. (
Hello all. Have a merry christmas and happy new Year. (
moorestephen...@gmail.com)
On Sat., 23 Nov. 2019, 11:26 am Elic, wrote:
> Hi,
>
> Hope you are all doing well.
>
> I had to change the User object to support several use-cases in my system.
>
> I have created a custom User object that
Hi,
Hope you are all doing well.
I had to change the User object to support several use-cases in my system.
I have created a custom User object that extends AbstractBaseUser.This
object only has email, password, last_login and the permissions (is_stuff,
is_superuser). I also created
4 matches
Mail list logo