From 89f6959fc1e39edd37559d2564aeef51b64b2db3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Luk=C3=A1=C5=A1=20Kucharczyk?= Date: Wed, 25 Jan 2023 12:17:56 +0100 Subject: [PATCH] Change API url --- timetracker/urls.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/timetracker/urls.py b/timetracker/urls.py index 1bc2d47..f056a77 100644 --- a/timetracker/urls.py +++ b/timetracker/urls.py @@ -73,7 +73,7 @@ router.register(r"sessions", SessionViewSet) urlpatterns = [ - path("api/", include("router.urls")), + path("api/", include(router.urls)), path("api-auth/", include("rest_framework.urls", namespace="rest_framework")), ]