#2416: Auth Profile not working problems
--------------------------+-------------------------------------------------
Reporter: dp_wiz | Owner: adrian
Type: enhancement | Status: new
Priority: normal | Milestone:
Component: Contrib apps | Version: SVN
Severity: normal | Keywords:
--------------------------+-------------------------------------------------
Got two problems on using profile system:
1) user.get_profile() fails with `"AttributeError: NoneType has no
_default_manager"` when using shell in
/usr/local/src/django_trunk/django/contrib/auth:
self._profile_cache =
model._default_manager.get(user__id__exact=self.id)
Error is gone after execution of models.get_models()
2) i have profile class with no 'id' field, but 'user_idnr' as primary
key.
But user__id__exact is hardcoded in the same line above.
--
Ticket URL: <http://code.djangoproject.com/ticket/2416>
Django <http://code.djangoproject.org/>
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
-~----------~----~----~----~------~----~------~--~---