From 3a14ea98a6a82fdc6707333a2bf7963c4f6541a6 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 7077354..f056a77 100644 --- a/timetracker/urls.py +++ b/timetracker/urls.py @@ -73,7 +73,7 @@ router.register(r"sessions", SessionViewSet) urlpatterns = [ - path("", include(router.urls)), + path("api/", include(router.urls)), path("api-auth/", include("rest_framework.urls", namespace="rest_framework")), ]