Changes between Initial Version and Version 1 of Ticket #16728


Ignore:
Timestamp:
Aug 30, 2011, 6:59:23 AM (13 years ago)
Author:
Aymeric Augustin
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 Resolutioninvalid
    • Property Status newclosed
  • 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:
Back to Top