from django.urls import path from personalni.utils import org_required, resitel_or_org_required from .views import SifrovackaView, SifrovackaListView, NapovedaView, NapovedaListView, PreskoceniView urlpatterns = [ path( '', resitel_or_org_required(SifrovackaView.as_view()), name='sifrovacka' ), path( 'odpovedi/', org_required(SifrovackaListView.as_view()), name='sifrovacka_odpovedi' ), path( 'napoveda/', resitel_or_org_required(NapovedaView.as_view()), name='sifrovacka_napoveda' ), path( 'napovedy/', org_required(NapovedaListView.as_view()), name='sifrovacka_napovedy' ), path( 'preskoceni/', resitel_or_org_required(PreskoceniView.as_view()), name='sifrovacka_preskoceni' ), ]