#13667: Multiple profile models via AUTH_PROFILE_MODULES (proposal)
----------------------------------------+-----------------------------------
Reporter: humanfromearth | Owner: nobody
Status: new | Milestone:
Component: Contrib apps | Version: 1.2
Keywords: user auth profile multiple | Stage: Unreviewed
Has_patch: 1 |
----------------------------------------+-----------------------------------
I was developing a few apps that required some data stored to users
profile. Since now there can be only one model that can be used as a
profile and the way around it is somewhat ugly, I've made some changes to
get_profile method. In settings instead of:
{{{
AUTH_PROFILE_MODULE = "app_label.model"
}}}
you can do this:
{{{
AUTH_PROFILE_MODULES = ("app_label1.model", "app_label2.model", )
}}}
--
Ticket URL: <http://code.djangoproject.com/ticket/13667>
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 [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/django-updates?hl=en.