Add public route, view, and navigation link for project funding requests under 1000 EUR

This commit is contained in:
Roman 2025-09-29 00:33:42 +02:00
parent 98f8414576
commit 46240fedc1
3 changed files with 10 additions and 2 deletions

View File

@ -10,7 +10,7 @@
<strong>Projektförderung</strong> <strong>Projektförderung</strong>
<ul> <ul>
<li> <li>
<a href="#">Projektförderung</a> <a href="projektfoerderung-unter-1000">Projektförderung</a>
mit einer Gesamtsumme unter 1.000,— EUR mit einer Gesamtsumme unter 1.000,— EUR
</li> </li>
<li> <li>

View File

@ -5,7 +5,7 @@ from .views import (
index, done, export, authorize, deny, index, done, export, authorize, deny,
TravelApplicationView, IFGApplicationView, EmailApplicationView, TravelApplicationView, IFGApplicationView, EmailApplicationView,
LiteratureApplicationView, ListApplicationView, BusinessCardApplicationView, LiteratureApplicationView, ListApplicationView, BusinessCardApplicationView,
LibraryApplicationView, ELiteratureApplicationView, SoftwareApplicationView, LibraryApplicationView, ELiteratureApplicationView, SoftwareApplicationView, ProjectFundingLt1kApplicationView
) )
urlpatterns = [ urlpatterns = [
@ -35,6 +35,8 @@ urlpatterns = [
path('extern/bibliotheksstipendium/', LibraryApplicationView.as_view(), name='bibliotheksstipendium'), path('extern/bibliotheksstipendium/', LibraryApplicationView.as_view(), name='bibliotheksstipendium'),
path('extern/eliteraturstipendium/', ELiteratureApplicationView.as_view(), name='eliteraturstipendium'), path('extern/eliteraturstipendium/', ELiteratureApplicationView.as_view(), name='eliteraturstipendium'),
path('extern/softwarestipendium/', SoftwareApplicationView.as_view(), name='softwarestipendium'), path('extern/softwarestipendium/', SoftwareApplicationView.as_view(), name='softwarestipendium'),
path('extern/projektfoerderung-unter-1000/', ProjectFundingLt1kApplicationView.as_view(),
name='projektfoerderung-unter-1000'),
# JavaScript translations for date widgets, etc. # JavaScript translations for date widgets, etc.
path('jsi18n/', JavaScriptCatalog.as_view(), name='jsi18n'), path('jsi18n/', JavaScriptCatalog.as_view(), name='jsi18n'),

View File

@ -21,6 +21,7 @@ from .forms import (
EmailForm, EmailForm,
ListForm, ListForm,
BusinessCardForm, BusinessCardForm,
ProjectRequestForm,
) )
from .models import TYPE_CHOICES, MODELS, TYPE_BIB, TYPE_ELIT, TYPE_SOFT from .models import TYPE_CHOICES, MODELS, TYPE_BIB, TYPE_ELIT, TYPE_SOFT
@ -253,3 +254,8 @@ class ListApplicationView(BaseApplicationView):
class BusinessCardApplicationView(BaseApplicationView): class BusinessCardApplicationView(BaseApplicationView):
form_class = BusinessCardForm form_class = BusinessCardForm
type_code = 'VIS' type_code = 'VIS'
class ProjectFundingLt1kApplicationView(BaseApplicationView):
form_class = ProjectRequestForm
type_code = 'PROJ_LT_1000'