Changes between Initial Version and Version 1 of Ticket #25596
- Timestamp:
- Oct 22, 2015, 11:13:14 AM (9 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #25596
- Property Summary Can't change user's password in DjangoAdmin → Can't change user's password in DjangoAdmin when using custom User model
-
Ticket #25596 – Description
initial v1 16 16 When I tried to change user's password (using /admin/users/user/ID/password/) I've got an error: 17 17 18 {{{Traceback: 18 Traceback: 19 20 {{{ 19 21 20 22 File "/src/django/django/core/handlers/base.py" in get_response … … 54 56 Exception Value: Reverse for 'auth_user_change' with arguments '(8,)' and keyword arguments '{}' not found. 0 pattern(s) tried: [] 55 57 }}} 58 59 django/auth/admin.py:151 60 {{{ 61 reverse( 62 '%s:auth_%s_change' % ( 63 self.admin_site.name, 64 user._meta.model_name, 65 ), 66 args=(user.pk,), 67 ) 68 }}} 69 70 There should not be fixed "auth_" prefix, but something like user._meta.app_name(?)