Changes between Initial Version and Version 1 of Ticket #25596


Ignore:
Timestamp:
Oct 22, 2015, 11:13:14 AM (9 years ago)
Author:
user0007
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #25596

    • Property Summary Can't change user's password in DjangoAdminCan't change user's password in DjangoAdmin when using custom User model
  • Ticket #25596 – Description

    initial v1  
    1616When I tried to change user's password (using /admin/users/user/ID/password/) I've got an error:
    1717
    18 {{{Traceback:
     18Traceback:
     19
     20{{{
    1921
    2022File "/src/django/django/core/handlers/base.py" in get_response
     
    5456Exception Value: Reverse for 'auth_user_change' with arguments '(8,)' and keyword arguments '{}' not found. 0 pattern(s) tried: []
    5557}}}
     58
     59django/auth/admin.py:151
     60{{{
     61reverse(
     62                        '%s:auth_%s_change' % (
     63                            self.admin_site.name,
     64                            user._meta.model_name,
     65                        ),
     66                        args=(user.pk,),
     67                    )
     68}}}
     69
     70There should not be fixed "auth_" prefix, but something like user._meta.app_name(?)
Back to Top