Oddělení sousových věcí #56
1 changed files with 37 additions and 29 deletions
|
@ -2,7 +2,7 @@ from django.urls import path, include
|
||||||
from . import views
|
from . import views
|
||||||
from seminar.utils import org_required
|
from seminar.utils import org_required
|
||||||
|
|
||||||
# prefix = 'soustredeni/'
|
# prefix = soustredeni/
|
||||||
urlpatterns = [
|
urlpatterns = [
|
||||||
path(
|
path(
|
||||||
'probehlo/',
|
'probehlo/',
|
||||||
|
@ -10,32 +10,40 @@ urlpatterns = [
|
||||||
name='seminar_seznam_soustredeni'
|
name='seminar_seznam_soustredeni'
|
||||||
),
|
),
|
||||||
path(
|
path(
|
||||||
'<int:soustredeni>/seznam_ucastniku',
|
'<int:soustredeni>/',
|
||||||
org_required(views.SoustredeniUcastniciView.as_view()),
|
include(
|
||||||
name='soustredeni_ucastnici'
|
# prefix = 'soustredeni/<int:soustredeni>/'
|
||||||
),
|
[
|
||||||
path(
|
path(
|
||||||
'<int:soustredeni>/maily_ucastniku',
|
'seznam_ucastniku',
|
||||||
org_required(views.SoustredeniMailyUcastnikuView.as_view()),
|
org_required(views.SoustredeniUcastniciView.as_view()),
|
||||||
name='maily_ucastniku'
|
name='soustredeni_ucastnici'
|
||||||
),
|
),
|
||||||
path(
|
path(
|
||||||
'<int:soustredeni>/export_ucastniku',
|
'maily_ucastniku',
|
||||||
org_required(views.soustredeniUcastniciExportView),
|
org_required(views.SoustredeniMailyUcastnikuView.as_view()),
|
||||||
name='soustredeni_ucastnici_export'
|
name='maily_ucastniku'
|
||||||
),
|
),
|
||||||
path(
|
path(
|
||||||
'<int:soustredeni>/stvrzenky.pdf',
|
'export_ucastniku',
|
||||||
org_required(views.soustredeniStvrzenkyView),
|
org_required(views.soustredeniUcastniciExportView),
|
||||||
name='soustredeni_ucastnici_stvrzenky'
|
name='soustredeni_ucastnici_export'
|
||||||
),
|
),
|
||||||
path(
|
path(
|
||||||
'<int:soustredeni>/obalky.pdf',
|
'stvrzenky.pdf',
|
||||||
org_required(views.soustredeniObalkyView),
|
org_required(views.soustredeniStvrzenkyView),
|
||||||
name='seminar_soustredeni_obalky'
|
name='soustredeni_ucastnici_stvrzenky'
|
||||||
),
|
),
|
||||||
path(
|
path(
|
||||||
'<int:soustredeni>/fotogalerie/',
|
'obalky.pdf',
|
||||||
include('galerie.urls')
|
org_required(views.soustredeniObalkyView),
|
||||||
),
|
name='seminar_soustredeni_obalky'
|
||||||
|
),
|
||||||
|
path(
|
||||||
|
'fotogalerie/',
|
||||||
|
include('galerie.urls')
|
||||||
|
),
|
||||||
|
]
|
||||||
|
)
|
||||||
|
)
|
||||||
]
|
]
|
||||||
|
|
Loading…
Reference in a new issue