From 07c465e6ca845b32aa2071440cee231ba6745023 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jon=C3=A1=C5=A1=20Havelka?= Date: Thu, 15 Jun 2023 16:55:31 +0200 Subject: [PATCH] =?UTF-8?q?Spr=C3=A1vn=C3=A1=20url?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- mamweb/urls.py | 2 +- vyroci/urls.py | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/mamweb/urls.py b/mamweb/urls.py index 62c9a79a..0855b6b6 100644 --- a/mamweb/urls.py +++ b/mamweb/urls.py @@ -69,7 +69,7 @@ urlpatterns = [ # path('api/', include(router.urls)), # Výroční sraz - path('srazy/', include('vyroci.urls')), + path('sraz/30-let/', include('vyroci.urls')), ] diff --git a/vyroci/urls.py b/vyroci/urls.py index 7f0b5ed3..69132f45 100644 --- a/vyroci/urls.py +++ b/vyroci/urls.py @@ -5,13 +5,13 @@ from .views import VyrociView, VyrociListView urlpatterns = [ path( - '30-let/', + '', VyrociView.as_view(), name='vyrocni_sraz' ), path( - '30-let_vysledky/', + 'ucastnici/', org_required(VyrociListView.as_view()), - name='vyrocni_sraz_vysledky' + name='vyrocni_sraz_ucastnici' ), ]