How to change the USER model?

Good time of day.

I need to modify the standard model user in Django-Oscar. From what I've read, there is not so simple, not lzya just unasledovala from the native model and forward. Tell me how to add new fields to the model?

I would be very grateful for your help.
July 9th 19 at 13:08
2 answers
July 9th 19 at 13:10
Not always third-party modules will use the user settings. They can use django.contrib.auth.models.User directly have a problem. - dedric57 commented on July 9th 19 at 13:13
: if a third-party module has not been updated in two years, it is not necessary to use it - marilyne_Roh commented on July 9th 19 at 13:16
July 9th 19 at 13:12
from django.contrib.auth.models import User

class UserProfile(models.Model):
user = models.OneToOneField(User)

To access the profile will be like this: my_user.userprofile
so do not write
and for a long time - dedric57 commented on July 9th 19 at 13:15

Find more questions by tags DjangoPython