﻿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
16728	Registering custom Admin class for User model breaks changing passwords	django.bigfudge@…	nobody	"
I am doing this:

{{{
    class UserProfileInline(admin.StackedInline):
        model = UserProfile
    
    
    class UserAdmin(admin.ModelAdmin):
        save_on_top = True
        inlines = [UserProfileInline]        

    admin.site.unregister(User) 
    admin.site.register(User, UserAdmin)
}}}

To allow me to edit UserProfiles inline with Users. However, doing this seems to break the password reset feature within django admin (not the user-facing password reset – the one on the User model itself which allows and administrator to set a user's password manually. The error is:

user object with primary key u'3/password' does not exist.



"	Bug	closed	contrib.admin	1.3	Normal	invalid			Unreviewed	0	0	0	0	0	0
