from django.urls import path
from App.forms import MyPasswordChangeForm
from django.contrib.auth.views import PasswordChangeView, PasswordChangeDoneView
path = [   
    path('password-change/', PasswordChangeView.as_view(template_name='app/changePassword.html', form_class=MyPasswordChangeForm, success_url='/password-change-done'), name='password_change'),    
    path('password-change-done/', PasswordChangeDoneView.as_view(template_name='app/PasswordChangeDone.html')),
]