edit the loginview in 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')),