27 lines
839 B
Python
27 lines
839 B
Python
"""
|
|
Soubor sloužící jako „router“, tj. zde se definují url adresy a na co ukazují:
|
|
|
|
- ``aesop-export/mam-rocnik-<int:prvni_rok>.csv`` (seminar_export_rocnik) :class:`~aesop.views.ExportRocnikView`
|
|
- ``aesop-export/mam-sous-<str:datum_zacatku>.csv`` (seminar_export_sous) :class:`~aesop.views.ExportSousView`
|
|
- ``aesop-export/index.csv`` (seminar_export_index) :class:`~aesop.views.ExportIndexView`
|
|
"""
|
|
from django.urls import path
|
|
from aesop import views
|
|
|
|
urlpatterns = [
|
|
path(
|
|
'aesop-export/mam-rocnik-<int:prvni_rok>.csv',
|
|
views.ExportRocnikView.as_view(),
|
|
name='seminar_export_rocnik'
|
|
),
|
|
path(
|
|
'aesop-export/mam-sous-<str:datum_zacatku>.csv',
|
|
views.ExportSousView.as_view(),
|
|
name='seminar_export_sous'
|
|
),
|
|
path(
|
|
'aesop-export/index.csv',
|
|
views.ExportIndexView.as_view(),
|
|
name='seminar_export_index'
|
|
),
|
|
]
|