|
|
|
from django.urls import path, include
|
|
|
|
from . import views
|
|
|
|
from personalni.utils import org_required
|
|
|
|
|
|
|
|
# prefix = soustredeni/
|
|
|
|
urlpatterns = [
|
|
|
|
path(
|
|
|
|
'probehlo/',
|
|
|
|
views.SoustredeniListView.as_view(),
|
|
|
|
name='soustredeni_seznam'
|
|
|
|
),
|
|
|
|
path(
|
|
|
|
'<int:soustredeni>/',
|
|
|
|
include(
|
|
|
|
# prefix = 'soustredeni/<int:soustredeni>/'
|
|
|
|
[
|
|
|
|
path(
|
|
|
|
'seznam_ucastniku',
|
|
|
|
org_required(views.SoustredeniUcastniciView.as_view()),
|
|
|
|
name='soustredeni_ucastnici'
|
|
|
|
),
|
|
|
|
path(
|
|
|
|
'maily_ucastniku',
|
|
|
|
org_required(views.SoustredeniMailyUcastnikuView.as_view()),
|
|
|
|
name='maily_ucastniku'
|
|
|
|
),
|
|
|
|
path(
|
|
|
|
'export_ucastniku',
|
|
|
|
org_required(views.SoustredeniUcastniciExportView.as_view()),
|
|
|
|
name='soustredeni_ucastnici_export'
|
|
|
|
),
|
|
|
|
path(
|
|
|
|
'stvrzenky.pdf',
|
|
|
|
org_required(views.SoustredeniStvrzenkyView.as_view()),
|
|
|
|
name='soustredeni_ucastnici_stvrzenky'
|
|
|
|
),
|
|
|
|
path(
|
|
|
|
'obalky.pdf',
|
|
|
|
org_required(views.soustredeniObalkyView),
|
|
|
|
name='soustredeni_obalky'
|
|
|
|
),
|
|
|
|
path(
|
|
|
|
'abstrakty',
|
|
|
|
org_required(views.SoustredeniAbstraktyView.as_view()),
|
|
|
|
name='soustredeni_abstrakty'
|
|
|
|
),
|
|
|
|
path(
|
|
|
|
'fotogalerie/',
|
|
|
|
include('galerie.urls')
|
|
|
|
),
|
|
|
|
]
|
|
|
|
)
|
|
|
|
)
|
|
|
|
]
|