Browse Source

AESOP už nepotřebuje práva

řeší se to HTTP Basic auth v nginxu
middleware_test
Pavel "LEdoian" Turinsky 4 years ago
parent
commit
66aca1e785
  1. 6
      seminar/urls.py

6
seminar/urls.py

@ -71,17 +71,17 @@ urlpatterns = [
# Aesop # Aesop
path( path(
'aesop-export/mam-rocnik-<int:prvni_rok>.csv', 'aesop-export/mam-rocnik-<int:prvni_rok>.csv',
org_required(export.ExportRocnikView.as_view()), export.ExportRocnikView.as_view(),
name='seminar_export_rocnik' name='seminar_export_rocnik'
), ),
path( path(
'aesop-export/mam-sous-<str:datum_zacatku>.csv', 'aesop-export/mam-sous-<str:datum_zacatku>.csv',
org_required(export.ExportSousView.as_view()), export.ExportSousView.as_view(),
name='seminar_export_sous' name='seminar_export_sous'
), ),
path( path(
'aesop-export/index.csv', 'aesop-export/index.csv',
org_required(export.ExportIndexView.as_view()), export.ExportIndexView.as_view(),
name='seminar_export_index' name='seminar_export_index'
), ),

Loading…
Cancel
Save