#3011: Allow for extendable auth_user module ------------------------------------+--------------------------------------- Reporter: nowell strite | Owner: dan Status: assigned | Milestone: Component: Contrib apps | Version: Resolution: | Keywords: auth_user Stage: Accepted | Has_patch: 1 Needs_docs: 1 | Needs_tests: 1 Needs_better_patch: 1 | ------------------------------------+--------------------------------------- Changes (by wkornewald):
* cc: wkornewald (added) Comment: So, what's going to happen with this ticket? It's on the list of ideas for Summer of Code 2009. We really need this feature and we'd like to have an officially supported API for this. Django's default user comes with first_name and last_name which is too specific for us. We only have full_name and calculated @property for first_name and last_name. Also, we don't have usernames. In a lot of cases email is sufficient, so why should the user bother about inventing a username? Of course, this means that in our case email should be a required and unique field. Moreover, code that uses get_profile() is just more annoying to write and you have to call select_related(). It's much easier to have all user fields in the User model. Our code has definitely become easier to work with since we eliminated the profile model and put everything into the User. In our app-engine-patch project (a Django port to App Engine) we have something similar: http://code.google.com/p/app-engine-patch/wiki/CustomUserModel We also allow for overriding the AnonymousUser (which sometimes needs additional attributes, too). Now that I think about it, the AUTH_ADMIN_MODULE stuff isn't necessary because you can easily register this in some other app's admin.py. -- Ticket URL: <http://code.djangoproject.com/ticket/3011#comment:45> Django <http://code.djangoproject.com/> The Web framework for perfectionists with deadlines. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Django updates" group. To post to this group, send email to django-updates@googlegroups.com To unsubscribe from this group, send email to django-updates+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/django-updates?hl=en -~----------~----~----~----~------~----~------~--~---