#8916: admin auth change password not working
-------------------------------------------+--------------------------------
          Reporter:  [EMAIL PROTECTED]        |         Owner:  nobody
            Status:  closed                |     Milestone:        
         Component:  django.contrib.admin  |       Version:  1.0   
        Resolution:  invalid               |      Keywords:        
             Stage:  Unreviewed            |     Has_patch:  0     
        Needs_docs:  0                     |   Needs_tests:  0     
Needs_better_patch:  0                     |  
-------------------------------------------+--------------------------------
Comment (by davenaff):

 I stumbled across this ticket a little bit ago and finally came back to
 fix my problem.

 For future reference:

 Before (code that generated this error):

 {{{
 from django.contrib import admin

 class MyUserAdmin(admin.ModelAdmin):
     list_display = ('username', 'email', 'date_joined', 'last_login',
 'is_active')
     form = MyUserAdminForm
 }}}


 After (code that works fine):

 {{{
 from django.contrib.auth.admin import UserAdmin

 class MyUserAdmin(UserAdmin):
     list_display = ('username', 'email', 'date_joined', 'last_login',
 'is_active')
     form = MyUserAdminForm
 }}}

 I hope others find this helpful.

-- 
Ticket URL: <http://code.djangoproject.com/ticket/8916#comment:14>
Django <http://code.djangoproject.com/>
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 django-updates@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/django-updates?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to