hi, I wanna get a customized MyUser by inheriting authtools' AbstractNamedUser(or AbstractEmailUser) cuz i want to add more field to MyUser, such as gender, age etc. so I add MyUser to profiles::models.py, and set it 'swappable = AUTH_USER_MODEL, also change the onetoonefield user of BaseProfile linked to MyUser.
is it ok? AND, how can I register MyUser class? I tried to implement something what admin.py in authtools do, but failed. Anyone has a idea? Thx,!
hi, I wanna get a customized MyUser by inheriting authtools' AbstractNamedUser(or AbstractEmailUser) cuz i want to add more field to MyUser, such as gender, age etc. so I add MyUser to profiles::models.py, and set it 'swappable = AUTH_USER_MODEL, also change the onetoonefield user of BaseProfile linked to MyUser. is it ok? AND, how can I register MyUser class? I tried to implement something what admin.py in authtools do, but failed. Anyone has a idea? Thx,!