Fix: #1331
This commit is contained in:
parent
32768aab10
commit
7e60791c33
1 changed files with 2 additions and 2 deletions
|
@ -8,13 +8,13 @@ Soubor sloužící jako „router“, tj. zde se definují url adresy a na co uk
|
||||||
- ``prednasky/seznam_prednasek/<int:seznam>/`` (seznam-list) :class:`~prednasky.views.SeznamListView`
|
- ``prednasky/seznam_prednasek/<int:seznam>/`` (seznam-list) :class:`~prednasky.views.SeznamListView`
|
||||||
"""
|
"""
|
||||||
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 . import views
|
from . import views
|
||||||
|
|
||||||
urlpatterns = [
|
urlpatterns = [
|
||||||
path(
|
path(
|
||||||
'prednasky/',
|
'prednasky/',
|
||||||
resitel_required(views.newPrednaska)
|
resitel_or_org_required(views.newPrednaska)
|
||||||
),
|
),
|
||||||
path('prednasky/hotovo', views.Prednaska_hotovo),
|
path('prednasky/hotovo', views.Prednaska_hotovo),
|
||||||
path(
|
path(
|
||||||
|
|
Loading…
Reference in a new issue