From 0f951dcf029d4af284467543a3afdf5bf6581a20 Mon Sep 17 00:00:00 2001 From: Matthew Lemon Date: Tue, 23 Apr 2024 11:16:38 +0100 Subject: switched to Django --- core/urls.py | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 core/urls.py (limited to 'core/urls.py') diff --git a/core/urls.py b/core/urls.py new file mode 100644 index 0000000..b45430b --- /dev/null +++ b/core/urls.py @@ -0,0 +1,11 @@ +from django.contrib.auth.views import logout_then_login +from django.urls import path + +from . import views + +urlpatterns = [ + path("", views.index, name="index"), + path("dashboard/", views.dashboard, name="dashboard"), + path("logout-then-login/", logout_then_login, name="logout-the-login"), + path("profile/", views.profile, name="profile"), +] -- cgit v1.2.3