Správná url
This commit is contained in:
parent
1a008dff19
commit
07c465e6ca
2 changed files with 4 additions and 4 deletions
|
@ -69,7 +69,7 @@ urlpatterns = [
|
||||||
# path('api/', include(router.urls)),
|
# path('api/', include(router.urls)),
|
||||||
|
|
||||||
# Výroční sraz
|
# Výroční sraz
|
||||||
path('srazy/', include('vyroci.urls')),
|
path('sraz/30-let/', include('vyroci.urls')),
|
||||||
|
|
||||||
]
|
]
|
||||||
|
|
||||||
|
|
|
@ -5,13 +5,13 @@ from .views import VyrociView, VyrociListView
|
||||||
|
|
||||||
urlpatterns = [
|
urlpatterns = [
|
||||||
path(
|
path(
|
||||||
'30-let/',
|
'',
|
||||||
VyrociView.as_view(),
|
VyrociView.as_view(),
|
||||||
name='vyrocni_sraz'
|
name='vyrocni_sraz'
|
||||||
),
|
),
|
||||||
path(
|
path(
|
||||||
'30-let_vysledky/',
|
'ucastnici/',
|
||||||
org_required(VyrociListView.as_view()),
|
org_required(VyrociListView.as_view()),
|
||||||
name='vyrocni_sraz_vysledky'
|
name='vyrocni_sraz_ucastnici'
|
||||||
),
|
),
|
||||||
]
|
]
|
||||||
|
|
Loading…
Reference in a new issue