hi, im trying to show only some aspects of the user profile on the
admin page but im having an error:

the error that django sends:

Unknown password hashing algorithm 'test'. Did you specify it in the
PASSWORD_HASHERS setting?

i think that the error appears when i customize the django admin:


admin.site.unregister(User)


class Inline(admin.StackedInline):

        model = UserProfile
        list_display = ('key',)
        exclude = ('old_key',)

class UserProfileAdmin(admin.ModelAdmin):

        inlines = [UserProfileInline]
        list_display =
('username','first_name','last_name','is_active','is_staff','email',)

admin.site.register(User,UserProfileAdmin)

i think that, when i use the unregister function, the user loose the
password hash.
i has been looking in google and the problem seems to be with the
last django version, but i dont know how to fix it
thanks

sorry for my poor english:

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-users@googlegroups.com.
To unsubscribe from this group, send email to 
django-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en.

Reply via email to