In a Django 1.5 project, I've created a custom User model extending from AbstractBaseUser to make the email address the primary key (instead of a username).
How do I get the change password functionality for UserAdmin in the django admin interface? I tried extending UserAdmin with a class called CustomUserAdmin (much like the answer suggested in Using custom User admin breaks change password form in Django's admin), but I get the following error message
CustomUserAdmin.list_display[0], 'username' is not a callable or an attribute of 'CustomUserAdmin' or found in the model 'User'.
I basically want the default admin interface except the password field (which I want from UserAdmin).
How do I do this?