mamweb/korektury/urls.py

15 lines
639 B
Python
Raw Normal View History

from django.urls import path
2024-12-12 13:52:55 +01:00
from django.urls import include
2024-08-05 11:46:38 +02:00
from personalni.utils import org_required
2015-12-01 23:24:21 +01:00
from . import views
2016-01-09 17:28:20 +01:00
urlpatterns = [
2021-11-01 22:25:42 +01:00
path('korektury/', org_required(views.KorekturySeskupeneListView.as_view()), name='korektury_list'),
2022-01-31 21:37:51 +01:00
path('korektury/neseskupene/', org_required(views.KorekturyAktualniListView.as_view()), name='korektury_neseskupene_list'),
path('korektury/zastarale/', org_required(views.KorekturyZastaraleListView.as_view()), name='korektury_stare_list'),
2020-09-05 19:20:41 +02:00
path('korektury/<int:pdf>/', org_required(views.KorekturyView.as_view()), name='korektury'),
2024-12-12 13:52:55 +01:00
2025-01-20 23:48:54 +01:00
path('korektury/api/', include('korektury.api.urls')),
2016-01-09 17:28:20 +01:00
]