foerderbarometer/input/urls.py

29 lines
910 B
Python
Raw Normal View History

2025-10-14 09:39:58 +00:00
from django.urls import path, include
from django.views.i18n import JavaScriptCatalog
2025-10-14 09:39:58 +00:00
from .views import (
2025-10-14 09:39:58 +00:00
index,
done,
export,
authorize,
deny,
ApplicationView,
ApplicationStartView,
ProjectInfoView,
)
2020-09-22 10:21:05 +00:00
urlpatterns = [
path('', index, name='index'),
path('saved', done, name='done'),
2020-11-19 14:55:10 +00:00
path('export', export, name='export'),
path('authorize/<str:choice>/<int:pk>', authorize, name='authorize'),
path('deny/<str:choice>/<int:pk>', deny, name='deny'),
2025-10-14 09:39:58 +00:00
path('extern/', include([
path('', ApplicationStartView.as_view(), name='extern'),
path('info/projektfoerderung-ab-1000/', ProjectInfoView.as_view(), name='info-foerderprojekt-ab-1000'),
path('<slug:type>/', ApplicationView.as_view(), name='extern'),
])),
# JavaScript translations for date widgets, etc.
path('jsi18n/', JavaScriptCatalog.as_view(), name='jsi18n'),
2020-09-22 10:21:05 +00:00
]