|
|
|
from django.urls import path, include
|
|
|
|
from . import views
|
|
|
|
from personalni.utils import org_required
|
|
|
|
|
|
|
|
urlpatterns = [
|
|
|
|
path(
|
|
|
|
'soustredeni/probehlo/',
|
|
|
|
views.SoustredeniListView.as_view(),
|
|
|
|
name='seminar_seznam_soustredeni'
|
|
|
|
),
|
|
|
|
path(
|
|
|
|
'soustredeni/<int:soustredeni>/seznam_ucastniku',
|
|
|
|
org_required(views.SoustredeniUcastniciView.as_view()),
|
|
|
|
name='soustredeni_ucastnici'
|
|
|
|
),
|
|
|
|
path(
|
|
|
|
'soustredeni/<int:soustredeni>/maily_ucastniku',
|
|
|
|
org_required(views.SoustredeniMailyUcastnikuView.as_view()),
|
|
|
|
name='maily_ucastniku'
|
|
|
|
),
|
|
|
|
path(
|
|
|
|
'soustredeni/<int:soustredeni>/export_ucastniku',
|
|
|
|
org_required(views.soustredeniUcastniciExportView),
|
|
|
|
name='soustredeni_ucastnici_export'
|
|
|
|
),
|
|
|
|
path(
|
|
|
|
'soustredeni/<int:soustredeni>/stvrzenky.pdf',
|
|
|
|
org_required(views.soustredeniStvrzenkyView),
|
|
|
|
name='soustredeni_ucastnici_stvrzenky'
|
|
|
|
),
|
|
|
|
path(
|
|
|
|
'soustredeni/<int:soustredeni>/obalky.pdf',
|
|
|
|
org_required(views.soustredeniObalkyView),
|
|
|
|
name='seminar_soustredeni_obalky'
|
|
|
|
),
|
|
|
|
path(
|
|
|
|
'soustredeni/<int:pk>/abstrakty',
|
|
|
|
org_required(views.SoustredeniAbstraktyView.as_view()),
|
|
|
|
name='seminar_soustredeni_abstrakty'
|
|
|
|
),
|
|
|
|
path(
|
|
|
|
'soustredeni/<int:soustredeni>/fotogalerie/',
|
|
|
|
include('galerie.urls')
|
|
|
|
),
|
|
|
|
]
|