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')),
|
||||
|
||||
# Soustredkova aplikace (ma vlastni podadresare)
|
||||
path('', include('soustredeni.urls')),
|
||||
path('soustredeni/', include('soustredeni.urls')),
|
||||
|
||||
# Personalni aplikace (ma vlastni podadresare)
|
||||
# (profil, osobní údaje, ..., ne autentizace, viz dále)
|
||||
|
|
|
@ -2,39 +2,40 @@ from django.urls import path, include
|
|||
from . import views
|
||||
from seminar.utils import org_required
|
||||
|
||||
# prefix = 'soustredeni/'
|
||||
urlpatterns = [
|
||||
path(
|
||||
'soustredeni/probehlo/',
|
||||
'probehlo/',
|
||||
views.SoustredeniListView.as_view(),
|
||||
name='seminar_seznam_soustredeni'
|
||||
),
|
||||
path(
|
||||
'soustredeni/<int:soustredeni>/seznam_ucastniku',
|
||||
'<int:soustredeni>/seznam_ucastniku',
|
||||
org_required(views.SoustredeniUcastniciView.as_view()),
|
||||
name='soustredeni_ucastnici'
|
||||
),
|
||||
path(
|
||||
'soustredeni/<int:soustredeni>/maily_ucastniku',
|
||||
'<int:soustredeni>/maily_ucastniku',
|
||||
org_required(views.SoustredeniMailyUcastnikuView.as_view()),
|
||||
name='maily_ucastniku'
|
||||
),
|
||||
path(
|
||||
'soustredeni/<int:soustredeni>/export_ucastniku',
|
||||
'<int:soustredeni>/export_ucastniku',
|
||||
org_required(views.soustredeniUcastniciExportView),
|
||||
name='soustredeni_ucastnici_export'
|
||||
),
|
||||
path(
|
||||
'soustredeni/<int:soustredeni>/stvrzenky.pdf',
|
||||
'<int:soustredeni>/stvrzenky.pdf',
|
||||
org_required(views.soustredeniStvrzenkyView),
|
||||
name='soustredeni_ucastnici_stvrzenky'
|
||||
),
|
||||
path(
|
||||
'soustredeni/<int:soustredeni>/obalky.pdf',
|
||||
'<int:soustredeni>/obalky.pdf',
|
||||
org_required(views.soustredeniObalkyView),
|
||||
name='seminar_soustredeni_obalky'
|
||||
),
|
||||
path(
|
||||
'soustredeni/<int:soustredeni>/fotogalerie/',
|
||||
'<int:soustredeni>/fotogalerie/',
|
||||
include('galerie.urls')
|
||||
),
|
||||
]
|
||||
|
|
Loading…
Reference in a new issue