Web M&M
https://mam.matfyz.cz
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
25 lines
583 B
25 lines
583 B
from django.urls import path
|
|
from personalni.utils import org_required, resitel_or_org_required
|
|
from . import views
|
|
|
|
urlpatterns = [
|
|
path(
|
|
'',
|
|
resitel_or_org_required(views.newPrednaska)
|
|
),
|
|
path('hotovo', views.Prednaska_hotovo),
|
|
path(
|
|
'metaseznam_prednasek',
|
|
org_required(views.MetaSeznamListView.as_view()),
|
|
name='metaseznam-list'),
|
|
path(
|
|
'seznam_prednasek/<int:seznam>/export',
|
|
org_required(views.SeznamExportView),
|
|
name='seznam-export'
|
|
),
|
|
path(
|
|
'seznam_prednasek/<int:seznam>/',
|
|
org_required(views.SeznamListView.as_view()),
|
|
name='seznam-list'
|
|
),
|
|
]
|
|
|