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 seminar.utils import org_required
|
||||
|
||||
# prefix = 'soustredeni/'
|
||||
# prefix = soustredeni/
|
||||
urlpatterns = [
|
||||
path(
|
||||
'probehlo/',
|
||||
|
@ -10,32 +10,40 @@ urlpatterns = [
|
|||
name='seminar_seznam_soustredeni'
|
||||
),
|
||||
path(
|
||||
'<int:soustredeni>/seznam_ucastniku',
|
||||
org_required(views.SoustredeniUcastniciView.as_view()),
|
||||
name='soustredeni_ucastnici'
|
||||
),
|
||||
path(
|
||||
'<int:soustredeni>/maily_ucastniku',
|
||||
org_required(views.SoustredeniMailyUcastnikuView.as_view()),
|
||||
name='maily_ucastniku'
|
||||
),
|
||||
path(
|
||||
'<int:soustredeni>/export_ucastniku',
|
||||
org_required(views.soustredeniUcastniciExportView),
|
||||
name='soustredeni_ucastnici_export'
|
||||
),
|
||||
path(
|
||||
'<int:soustredeni>/stvrzenky.pdf',
|
||||
org_required(views.soustredeniStvrzenkyView),
|
||||
name='soustredeni_ucastnici_stvrzenky'
|
||||
),
|
||||
path(
|
||||
'<int:soustredeni>/obalky.pdf',
|
||||
org_required(views.soustredeniObalkyView),
|
||||
name='seminar_soustredeni_obalky'
|
||||
),
|
||||
path(
|
||||
'<int:soustredeni>/fotogalerie/',
|
||||
include('galerie.urls')
|
||||
),
|
||||
'<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),
|
||||
name='soustredeni_ucastnici_export'
|
||||
),
|
||||
path(
|
||||
'stvrzenky.pdf',
|
||||
org_required(views.soustredeniStvrzenkyView),
|
||||
name='soustredeni_ucastnici_stvrzenky'
|
||||
),
|
||||
path(
|
||||
'obalky.pdf',
|
||||
org_required(views.soustredeniObalkyView),
|
||||
name='seminar_soustredeni_obalky'
|
||||
),
|
||||
path(
|
||||
'fotogalerie/',
|
||||
include('galerie.urls')
|
||||
),
|
||||
]
|
||||
)
|
||||
)
|
||||
]
|
||||
|
|
Loading…
Reference in a new issue