|
@ -43,15 +43,17 @@ class Grant(Volunteer): |
|
|
TYPE_CHOICES = [('BIB', 'Bibliotheksstipendium'), |
|
|
TYPE_CHOICES = [('BIB', 'Bibliotheksstipendium'), |
|
|
('ELIT', 'eLiteraturstipendium'), |
|
|
('ELIT', 'eLiteraturstipendium'), |
|
|
('SOFT', 'Softwarestipendium'), |
|
|
('SOFT', 'Softwarestipendium'), |
|
|
('VIS', 'Visitenkarten, Mailingliste oder E-Mail-Adresse'), |
|
|
|
|
|
|
|
|
('VIS', 'Visitenkarten'), |
|
|
|
|
|
('LIST', 'Mailingliste'), |
|
|
|
|
|
('MAIL', 'E-Mail-Adresse'), |
|
|
('IFG', 'Kostenübernahme IFG-Anfrage'), |
|
|
('IFG', 'Kostenübernahme IFG-Anfrage'), |
|
|
('LIT', 'Literaturstipendium'),] |
|
|
('LIT', 'Literaturstipendium'),] |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
class Library(Grant): |
|
|
class Library(Grant): |
|
|
|
|
|
|
|
|
type = models.CharField( |
|
|
type = models.CharField( |
|
|
max_length=4, |
|
|
max_length=4, |
|
|
choices=TYPE_CHOICES, |
|
|
|
|
|
|
|
|
choices=TYPE_CHOICES, #attention: actually only BIB, ELIT, SOFT should be used here |
|
|
default='LIB', |
|
|
default='LIB', |
|
|
) |
|
|
) |
|
|
library = models.CharField(max_length=200) |
|
|
library = models.CharField(max_length=200) |
|
|