2023-10-14 11:26:38 +02:00
|
|
|
from django.urls import path
|
|
|
|
|
2023-10-14 12:09:14 +02:00
|
|
|
from seminar.utils import org_required, resitel_or_org_required
|
2023-10-14 11:26:38 +02:00
|
|
|
from .views import SifrovackaView, SifrovackaListView
|
|
|
|
|
|
|
|
urlpatterns = [
|
|
|
|
path(
|
|
|
|
'',
|
2023-10-14 12:09:14 +02:00
|
|
|
resitel_or_org_required(SifrovackaView.as_view()),
|
2023-10-14 11:26:38 +02:00
|
|
|
name='sifrovacka'
|
|
|
|
),
|
|
|
|
path(
|
|
|
|
'odpovedi/',
|
|
|
|
org_required(SifrovackaListView.as_view()),
|
|
|
|
name='sifrovacka_odpovedi'
|
|
|
|
),
|
|
|
|
]
|