From 2deccfada4ca644081682827c8c9db2e5788335f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jon=C3=A1=C5=A1=20Havelka?= Date: Mon, 20 Jan 2025 23:48:54 +0100 Subject: [PATCH] Oprava URL --- korektury/api/urls.py | 4 ++-- korektury/urls.py | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/korektury/api/urls.py b/korektury/api/urls.py index 99a1d13f..6c1551ae 100644 --- a/korektury/api/urls.py +++ b/korektury/api/urls.py @@ -3,6 +3,6 @@ from personalni.utils import org_required from . import views urlpatterns = [ - path('korektury/api//stav', org_required(views.korektury_stav_view), name='korektury_api_pdf_stav'), - path('korektury/api/oprava/stav', org_required(views.oprava_stav_view), name='korektury_api_oprava_stav'), + path('/stav', org_required(views.korektury_stav_view), name='korektury_api_pdf_stav'), + path('oprava/stav', org_required(views.oprava_stav_view), name='korektury_api_oprava_stav'), ] diff --git a/korektury/urls.py b/korektury/urls.py index 6dc00a4e..9a5ff8d8 100644 --- a/korektury/urls.py +++ b/korektury/urls.py @@ -10,5 +10,5 @@ urlpatterns = [ path('korektury/zastarale/', org_required(views.KorekturyZastaraleListView.as_view()), name='korektury_stare_list'), path('korektury//', org_required(views.KorekturyView.as_view()), name='korektury'), - path('api/', include('korektury.api.urls')), + path('korektury/api/', include('korektury.api.urls')), ]