Oddělení sousových věcí #56
2 changed files with 9 additions and 8 deletions
|
@ -43,7 +43,7 @@ urlpatterns = [
|
||||||
path('', include('prednasky.urls')),
|
path('', include('prednasky.urls')),
|
||||||
|
|
||||||
# Soustredkova aplikace (ma vlastni podadresare)
|
# Soustredkova aplikace (ma vlastni podadresare)
|
||||||
path('', include('soustredeni.urls')),
|
path('soustredeni/', include('soustredeni.urls')),
|
||||||
|
|
||||||
# Personalni aplikace (ma vlastni podadresare)
|
# Personalni aplikace (ma vlastni podadresare)
|
||||||
# (profil, osobní údaje, ..., ne autentizace, viz dále)
|
# (profil, osobní údaje, ..., ne autentizace, viz dále)
|
||||||
|
|
|
@ -2,39 +2,40 @@ 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/'
|
||||||
urlpatterns = [
|
urlpatterns = [
|
||||||
path(
|
path(
|
||||||
'soustredeni/probehlo/',
|
'probehlo/',
|
||||||
views.SoustredeniListView.as_view(),
|
views.SoustredeniListView.as_view(),
|
||||||
name='seminar_seznam_soustredeni'
|
name='seminar_seznam_soustredeni'
|
||||||
),
|
),
|
||||||
path(
|
path(
|
||||||
'soustredeni/<int:soustredeni>/seznam_ucastniku',
|
'<int:soustredeni>/seznam_ucastniku',
|
||||||
org_required(views.SoustredeniUcastniciView.as_view()),
|
org_required(views.SoustredeniUcastniciView.as_view()),
|
||||||
name='soustredeni_ucastnici'
|
name='soustredeni_ucastnici'
|
||||||
),
|
),
|
||||||
path(
|
path(
|
||||||
'soustredeni/<int:soustredeni>/maily_ucastniku',
|
'<int:soustredeni>/maily_ucastniku',
|
||||||
org_required(views.SoustredeniMailyUcastnikuView.as_view()),
|
org_required(views.SoustredeniMailyUcastnikuView.as_view()),
|
||||||
name='maily_ucastniku'
|
name='maily_ucastniku'
|
||||||
),
|
),
|
||||||
path(
|
path(
|
||||||
'soustredeni/<int:soustredeni>/export_ucastniku',
|
'<int:soustredeni>/export_ucastniku',
|
||||||
org_required(views.soustredeniUcastniciExportView),
|
org_required(views.soustredeniUcastniciExportView),
|
||||||
name='soustredeni_ucastnici_export'
|
name='soustredeni_ucastnici_export'
|
||||||
),
|
),
|
||||||
path(
|
path(
|
||||||
'soustredeni/<int:soustredeni>/stvrzenky.pdf',
|
'<int:soustredeni>/stvrzenky.pdf',
|
||||||
org_required(views.soustredeniStvrzenkyView),
|
org_required(views.soustredeniStvrzenkyView),
|
||||||
name='soustredeni_ucastnici_stvrzenky'
|
name='soustredeni_ucastnici_stvrzenky'
|
||||||
),
|
),
|
||||||
path(
|
path(
|
||||||
'soustredeni/<int:soustredeni>/obalky.pdf',
|
'<int:soustredeni>/obalky.pdf',
|
||||||
org_required(views.soustredeniObalkyView),
|
org_required(views.soustredeniObalkyView),
|
||||||
name='seminar_soustredeni_obalky'
|
name='seminar_soustredeni_obalky'
|
||||||
),
|
),
|
||||||
path(
|
path(
|
||||||
'soustredeni/<int:soustredeni>/fotogalerie/',
|
'<int:soustredeni>/fotogalerie/',
|
||||||
include('galerie.urls')
|
include('galerie.urls')
|
||||||
),
|
),
|
||||||
]
|
]
|
||||||
|
|
Loading…
Reference in a new issue