diff --git a/mamweb/urls.py b/mamweb/urls.py index 62c9a79a..710fa446 100644 --- a/mamweb/urls.py +++ b/mamweb/urls.py @@ -68,8 +68,8 @@ urlpatterns = [ # REST API # path('api/', include(router.urls)), - # Výroční sraz - path('srazy/', include('vyroci.urls')), + # Organizátorský sraz k výročí 30 let M&M + path('sraz-30let/', include('vyroci.urls')), ] diff --git a/vyroci/urls.py b/vyroci/urls.py index 7f0b5ed3..71a6c717 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' ), ]