|
|
|
from django.urls import path
|
|
|
|
from django.contrib.auth.decorators import login_required
|
|
|
|
from . import views
|
|
|
|
from personalni.utils import org_required
|
|
|
|
|
|
|
|
urlpatterns = [
|
|
|
|
path(
|
|
|
|
'org/rozcestnik/',
|
|
|
|
org_required(views.OrgoRozcestnikView.as_view()),
|
|
|
|
name='personalni_org_rozcestnik'
|
|
|
|
),
|
|
|
|
|
|
|
|
path('prihlaska/', views.prihlaskaView, name='personalni_prihlaska'),
|
|
|
|
|
|
|
|
path(
|
|
|
|
'resitel/osobni-udaje/',
|
|
|
|
login_required(views.resitelEditView),
|
|
|
|
name='personalni_resitel_edit'
|
|
|
|
),
|
|
|
|
|
|
|
|
# Obecný view na profil -- orgům dá rozcestník, řešitelům jejich stránku
|
|
|
|
path('profil/', views.profilView, name='profil'),
|
|
|
|
|
|
|
|
# Seznam organizátorů
|
|
|
|
path(
|
|
|
|
'o-nas/organizatori/',
|
|
|
|
views.CojemamOrganizatoriView.as_view(),
|
|
|
|
name='organizatori'
|
|
|
|
),
|
|
|
|
path(
|
|
|
|
'o-nas/organizatori/organizovali/',
|
|
|
|
views.CojemamOrganizatoriStariView.as_view(),
|
|
|
|
name='stari_organizatori'
|
|
|
|
),
|
|
|
|
|
|
|
|
]
|