Code

Changes between Initial Version and Version 1 of Ticket #16728


Ignore:
Timestamp:
08/30/11 04:59:23 (3 years ago)
Author:
aaugustin
Comment:

Indeed, your code doesn't work. You may have more luck if you subclass django.contrib.auth.admin.UserAdmin (I haven't tested).

Anyway, that isn't a bug in Django. Could you use the django-users mailing list or the #django IRC channel for this kind of requests? Trac is the place for reporting bugs, it isn't a support forum. Thanks :)

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #16728

    • Property Status changed from new to closed
    • Property Patch needs improvement unset
    • Property Needs tests unset
    • Property Needs documentation unset
    • Property Resolution changed from to invalid
  • Ticket #16728 – Description

    initial v1  
    22I am doing this: 
    33 
     4{{{ 
    45    class UserProfileInline(admin.StackedInline): 
    56        model = UserProfile 
     
    1213    admin.site.unregister(User)  
    1314    admin.site.register(User, UserAdmin) 
     15}}} 
    1416 
    1517To 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: