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.
25 lines
595 B
25 lines
595 B
3 years ago
|
from django.urls import path
|
||
|
from django.contrib.auth.decorators import login_required
|
||
|
from . import views
|
||
|
from seminar.utils import org_required
|
||
|
|
||
|
urlpatterns = [
|
||
|
path(
|
||
|
'org/rozcestnik/',
|
||
|
org_required(views.OrgoRozcestnikView.as_view()),
|
||
|
name='seminar_org_rozcestnik'
|
||
|
),
|
||
|
|
||
|
path('prihlaska/', views.prihlaskaView, name='seminar_prihlaska'),
|
||
|
|
||
|
path(
|
||
|
'resitel/osobni-udaje/',
|
||
|
login_required(views.resitelEditView),
|
||
|
name='seminar_resitel_edit'
|
||
|
),
|
||
|
|
||
|
# Obecný view na profil -- orgům dá rozcestník, řešitelům jejich stránku
|
||
|
path('profil/', views.profilView, name='profil'),
|
||
|
|
||
|
]
|