how to log in in view if l have variables django 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')),