Pavlova verze URLconfu #33

Closed
ledoian wants to merge 2 commits from vyroci-fix into vyroci
2 changed files with 5 additions and 5 deletions
Showing only changes of commit 8d386d0289 - Show all commits

View file

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

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