django auth views redirect in urls.py code example
Example: login views django template passing
path('accounts/login/', auth_views.LoginView.as_view(template_name='myapp/login.html')),
path('accounts/login/', auth_views.LoginView.as_view(template_name='myapp/login.html')),