From 563a330db15e6bb62a7da551ff4e0d891dee769e Mon Sep 17 00:00:00 2001 From: Asif Saif Uddin Date: Tue, 23 Oct 2018 16:04:55 +0600 Subject: [PATCH] fixed deprecation warning in core --- djadmin2/core.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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' ),