Django 1.5: user and additional information

I have an authentication system based on django auth, but I have to add information to users. What is the best way to do this in django 1.5? (In 1.4, I used the profile associated with onetoone for the user, but now?)

+6
source share
2 answers

Django 1.5 has extensible user models . In principle, you can expand the abstract basic user model, add your own fields and anything else, and use it from there.

The basic model has only the basics of authentication - a password field and a field for the last login time. You even need to create your own username. If you like something like the current Django User model (with username, first name, last name, etc.), It also exists as AbstractUser , and you can expand it instead of AbstractBaseUser and add your own fields.

+9
source

In django 1.5 you have to create a user model of the user . User profiles are now out of date.

0
source

All Articles