forked from beba/foerderbarometer
29 lines
917 B
Python
Executable File
29 lines
917 B
Python
Executable File
from django.urls import path, include
|
|
from django.views.i18n import JavaScriptCatalog
|
|
|
|
from .views import (
|
|
index,
|
|
done,
|
|
export,
|
|
authorize,
|
|
deny,
|
|
ApplicationView,
|
|
ApplicationStartView,
|
|
ProjectFundingInfoView,
|
|
)
|
|
|
|
urlpatterns = [
|
|
path('', index, name='index'),
|
|
path('saved', done, name='done'),
|
|
path('export', export, name='export'),
|
|
path('authorize/<str:choice>/<int:pk>', authorize, name='authorize'),
|
|
path('deny/<str:choice>/<int:pk>', deny, name='deny'),
|
|
path('extern/', include([
|
|
path('', ApplicationStartView.as_view(), name='extern'),
|
|
path('projektfoerderung-ab-1000/', ProjectFundingInfoView.as_view(), name='projektfoerderung-ab-1000'),
|
|
path('<slug:type>/', ApplicationView.as_view(), name='extern'),
|
|
])),
|
|
# JavaScript translations for date widgets, etc.
|
|
path('jsi18n/', JavaScriptCatalog.as_view(), name='jsi18n'),
|
|
]
|