I am currently using a default django view (PasswordChangeView), but I have my own custom template that I want to use with it. I am achieving this by writing this:
path('changepassword/', PasswordChangeView.as_view(template_name='account/change_password.html',
success_url = '/changepassword/'), name='password_change'),
But in that template there is a variable like so: {{ var }}. Is there a way I can pass a value to that variable from urls.py? Or do I need to create an entire new custom view to pass this single variable?