diff --git a/djadmin2/core.py b/djadmin2/core.py index d9dc280..bf04d9d 100644 --- a/djadmin2/core.py +++ b/djadmin2/core.py @@ -166,7 +166,7 @@ class Admin2(object): view=self.index_view.as_view(**self.get_index_kwargs()), name='dashboard' ), - url(regex='^auth/user/(?P\d+)/update/password/$', + url(regex=r'^auth/user/(?P\d+)/update/password/$', view=views.PasswordChangeView.as_view(), name='password_change' ),