google-code-export / django-hotclub

Automatically exported from code.google.com/p/django-hotclub
MIT License
0 stars 0 forks source link

Enabling user profile customization #89

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Django allows one to choose the user profile model using the
AUTH_PROFILE_MODULE setting. However, the django_openidauth local
application does not use, directly instantiating profiles.Profile instead.

The attached patch uses the same logic that the
contrib.auth.models.User.get_profile method uses to select the profile model.

(For the record, there's another direct instantiation of profiles.Profile
in a management command of the account local application, but that's only
used to convert old Profiles, so I'm leaving it alone.)

Original issue reported on code.google.com by nicola.l...@gmail.com on 13 Oct 2008 at 1:29

Attachments:

GoogleCodeExporter commented 9 years ago
...does not use *it*...

Original comment by nicola.l...@gmail.com on 13 Oct 2008 at 1:30

GoogleCodeExporter commented 9 years ago

Original comment by jtau...@gmail.com on 31 Oct 2008 at 1:50

GoogleCodeExporter commented 9 years ago
Actually the patch is irrelevant now. django_openidauth no longer creates 
profiles.

Original comment by jtau...@gmail.com on 31 Oct 2008 at 2:40