old_contents: from django.urls import path
  from . import views
  from django.views.generic import RedirectView
  
  
  urlpatterns = [
      path('login/', views.LoginView.as_view(), name="LoginPage"),
      path('panel', views.Panel.as_view(), name="Panel"),
      path('', RedirectView.as_view(url="login"), name="LoginPage"),
  ]
  
new_contents: from django.urls import path
  from . import views
  from django.views.generic import RedirectView
  
  
  urlpatterns = [
      path('logout', views.LogoutView.as_view(), name="Logout"),
      path('login/', views.LoginView.as_view(), name="LoginPage"),
      path('panel', views.Panel.as_view(), name="Panel"),
      path('', RedirectView.as_view(url="login"), name="LoginPage"),
  ]
  
subject: Add url for Logout view to urls.py