diff --git a/mamweb/urls.py b/mamweb/urls.py index 7ec5831c..62c9a79a 100644 --- a/mamweb/urls.py +++ b/mamweb/urls.py @@ -69,7 +69,7 @@ urlpatterns = [ # path('api/', include(router.urls)), # Výroční sraz - path('', include('vyroci.urls')), + path('srazy/', include('vyroci.urls')), ] diff --git a/vyroci/urls.py b/vyroci/urls.py index 9b1ebfca..7f0b5ed3 100644 --- a/vyroci/urls.py +++ b/vyroci/urls.py @@ -5,12 +5,12 @@ from .views import VyrociView, VyrociListView urlpatterns = [ path( - 'sraz/', + '30-let/', VyrociView.as_view(), name='vyrocni_sraz' ), path( - 'sraz_vysledky/', + '30-let_vysledky/', org_required(VyrociListView.as_view()), name='vyrocni_sraz_vysledky' ),