Extending User object in Django: User model inheritance or use UserProfile?
- by Chris
To extend the User object with custom fields, the Django docs recommend using UserProfiles. However, according to this answer to a question about this from a year or so back:
extending django.contrib.auth.models.User also works better now -- ever since the refactoring of Django's inheritance code in the models API.
And articles such as this lay out how to extend the User model with custom fields, together with the advantages (retrieving properties directly from the user object, rather than through the .get_profile()).
So I was wondering whether there is any consensus on this issue, or reasons to use one or the other. Or even what the Django team currently think?