Browse Source

K formuláři mají mít přístup i orgové…

pull/40/head
Jonas Havelka 1 year ago
parent
commit
c635b0a280
  1. 4
      sifrovacka/urls.py

4
sifrovacka/urls.py

@ -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(

Loading…
Cancel
Save