2019-06-20 22:08:44 +02:00
|
|
|
from django.urls import path
|
2024-08-05 11:46:38 +02:00
|
|
|
from personalni.utils import org_required, resitel_or_org_required
|
2016-10-04 23:53:56 +02:00
|
|
|
from . import views
|
|
|
|
|
|
|
|
urlpatterns = [
|
2020-09-05 19:20:41 +02:00
|
|
|
path(
|
|
|
|
'prednasky/',
|
2022-11-07 22:53:08 +01:00
|
|
|
resitel_or_org_required(views.newPrednaska)
|
2020-09-05 19:20:41 +02:00
|
|
|
),
|
2019-06-20 22:08:44 +02:00
|
|
|
path('prednasky/hotovo', views.Prednaska_hotovo),
|
2020-09-05 19:20:41 +02:00
|
|
|
path(
|
|
|
|
'prednasky/metaseznam_prednasek',
|
|
|
|
org_required(views.MetaSeznamListView.as_view()),
|
|
|
|
name='metaseznam-list'),
|
|
|
|
path(
|
|
|
|
'prednasky/seznam_prednasek/<int:seznam>/export',
|
|
|
|
org_required(views.SeznamExportView),
|
|
|
|
name='seznam-export'
|
|
|
|
),
|
|
|
|
path(
|
|
|
|
'prednasky/seznam_prednasek/<int:seznam>/',
|
|
|
|
org_required(views.SeznamListView.as_view()),
|
|
|
|
name='seznam-list'
|
|
|
|
),
|
2016-10-04 23:53:56 +02:00
|
|
|
]
|