Add support for multiple profile modules
|Reported by:||Owned by:||Adrian Holovaty|
|Has patch:||no||Needs documentation:||no|
|Needs tests:||no||Patch needs improvement:||no|
I would like to change AUTH_PROFILE_MODULE to AUTH_PROFILE_MODULES. This would allow a project that has multiple optional applications to have a per-application profile. The get_profile() in django.contrib.auth would need to be updated to iterate through all of the supplied modules and combine all of the returned profile items as one comprehensive profile. I'm not familiar with the format of what model._default_manager.get(useridexact=self.id) would return, so I'm not sure this would be possible without further modifications there.