Správná url

This commit is contained in:
Jonas Havelka 2023-06-15 16:55:31 +02:00
parent 1a008dff19
commit 07c465e6ca
2 changed files with 4 additions and 4 deletions

View file

@ -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')),
]

View file

@ -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'
),
]