login with 42 works, fix crash when session is deleted from database

This commit is contained in:
2024-08-28 18:35:40 +02:00
parent 2fdba63def
commit ce5fc3221e
9 changed files with 89 additions and 140 deletions

View File

@ -18,7 +18,9 @@ from django.urls import path
from . import views
urlpatterns = [
path("",views.index, name='patate'),
path("",views.index, name='index'),
path("homePage",views.homePage, name='homePage'),
path("lobbyPage", views.lobbyPage, name='lobbyPage')
path("lobbyPage", views.lobbyPage, name='lobbyPage'),
path("login42", views.login42, name='login42'),
path("logout", views.logout, name='logout')
]