split visa, mail etc up

This commit is contained in:
Benni Baermann 2020-10-19 14:37:51 +02:00
parent 7d38549c3d
commit 4e7a0372c7

View file

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