|
@ -1,12 +1,12 @@ |
|
|
from django.urls import path |
|
|
from django.urls import path |
|
|
|
|
|
|
|
|
from seminar.utils import org_required, resitel_required |
|
|
from seminar.utils import org_required, resitel_or_org_required |
|
|
from .views import SifrovackaView, SifrovackaListView |
|
|
from .views import SifrovackaView, SifrovackaListView |
|
|
|
|
|
|
|
|
urlpatterns = [ |
|
|
urlpatterns = [ |
|
|
path( |
|
|
path( |
|
|
'', |
|
|
'', |
|
|
resitel_required(SifrovackaView.as_view()), |
|
|
resitel_or_org_required(SifrovackaView.as_view()), |
|
|
name='sifrovacka' |
|
|
name='sifrovacka' |
|
|
), |
|
|
), |
|
|
path( |
|
|
path( |
|
|