mamweb/soustredeni/urls.py

65 lines
1.4 KiB
Python
Raw Normal View History

from django.urls import path, include
from . import views
2024-08-05 11:46:38 +02:00
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),
2024-11-01 12:38:47 +01:00
name='soustredeni_obalky'
),
path(
'abstrakty',
org_required(views.SoustredeniAbstraktyView.as_view()),
2024-11-01 12:38:47 +01:00
name='soustredeni_abstrakty'
),
2024-11-12 18:37:21 +01:00
path(
'kontaktnicek_pdf',
views.soustredeniKontaktnicekPdfView,
2024-11-12 20:15:09 +01:00
name='soustredeni_kontaktnicek_pdf'
2024-11-05 22:47:18 +01:00
),
2024-11-12 18:37:21 +01:00
path(
'kontaktnicek_vcf',
views.soustredeniKontaktnicekVcfView,
2024-11-12 20:15:09 +01:00
name='soustredeni_kontaktnicek_vcf'
2024-11-05 22:47:18 +01:00
),
path(
'fotogalerie/',
include('galerie.urls')
),
]
)
2024-11-12 18:37:21 +01:00
)
]