mamweb/vyroci/urls.py

18 lines
301 B
Python
Raw Normal View History

2023-06-02 21:04:11 +02:00
from django.urls import path
2024-08-05 11:46:38 +02:00
from personalni.utils import org_required
from .views import VyrociView, VyrociListView
2023-06-02 21:04:11 +02:00
urlpatterns = [
path(
2023-06-15 16:55:31 +02:00
'',
2023-06-02 21:04:11 +02:00
VyrociView.as_view(),
name='vyrocni_sraz'
),
path(
2023-06-15 16:55:31 +02:00
'ucastnici/',
org_required(VyrociListView.as_view()),
2023-06-15 16:55:31 +02:00
name='vyrocni_sraz_ucastnici'
),
2023-06-02 21:04:11 +02:00
]