Web M&M
https://mam.matfyz.cz
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
36 lines
859 B
36 lines
859 B
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'
|
|
),
|
|
|
|
]
|
|
|