id summary reporter owner description type status component version severity resolution keywords cc stage has_patch needs_docs needs_tests needs_better_patch easy ui_ux 2416 Auth should use primary key rather than 'id' when referencing user wiz nobody "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." enhancement closed Contrib apps dev normal fixed aenor.realm@… Accepted 0 0 0 1 0 0