forked from beba/foerderbarometer
Add public route, view, and navigation link for project funding requests under 1000 EUR
This commit is contained in:
parent
98f8414576
commit
46240fedc1
|
|
@ -10,7 +10,7 @@
|
|||
<strong>Projektförderung</strong>
|
||||
<ul>
|
||||
<li>
|
||||
<a href="#">Projektförderung</a>
|
||||
<a href="projektfoerderung-unter-1000">Projektförderung</a>
|
||||
mit einer Gesamtsumme unter 1.000,— EUR
|
||||
</li>
|
||||
<li>
|
||||
|
|
|
|||
|
|
@ -5,7 +5,7 @@ from .views import (
|
|||
index, done, export, authorize, deny,
|
||||
TravelApplicationView, IFGApplicationView, EmailApplicationView,
|
||||
LiteratureApplicationView, ListApplicationView, BusinessCardApplicationView,
|
||||
LibraryApplicationView, ELiteratureApplicationView, SoftwareApplicationView,
|
||||
LibraryApplicationView, ELiteratureApplicationView, SoftwareApplicationView, ProjectFundingLt1kApplicationView
|
||||
)
|
||||
|
||||
urlpatterns = [
|
||||
|
|
@ -35,6 +35,8 @@ urlpatterns = [
|
|||
path('extern/bibliotheksstipendium/', LibraryApplicationView.as_view(), name='bibliotheksstipendium'),
|
||||
path('extern/eliteraturstipendium/', ELiteratureApplicationView.as_view(), name='eliteraturstipendium'),
|
||||
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.
|
||||
path('jsi18n/', JavaScriptCatalog.as_view(), name='jsi18n'),
|
||||
|
|
|
|||
|
|
@ -21,6 +21,7 @@ from .forms import (
|
|||
EmailForm,
|
||||
ListForm,
|
||||
BusinessCardForm,
|
||||
ProjectRequestForm,
|
||||
)
|
||||
from .models import TYPE_CHOICES, MODELS, TYPE_BIB, TYPE_ELIT, TYPE_SOFT
|
||||
|
||||
|
|
@ -253,3 +254,8 @@ class ListApplicationView(BaseApplicationView):
|
|||
class BusinessCardApplicationView(BaseApplicationView):
|
||||
form_class = BusinessCardForm
|
||||
type_code = 'VIS'
|
||||
|
||||
|
||||
class ProjectFundingLt1kApplicationView(BaseApplicationView):
|
||||
form_class = ProjectRequestForm
|
||||
type_code = 'PROJ_LT_1000'
|
||||
Loading…
Reference in New Issue