From 4e7a0372c710f5b6f9369b081601817b42255d8f Mon Sep 17 00:00:00 2001 From: Benni Baermann Date: Mon, 19 Oct 2020 14:37:51 +0200 Subject: [PATCH] split visa, mail etc up --- input/models.py | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/input/models.py b/input/models.py index e70e26b..198ae21 100644 --- a/input/models.py +++ b/input/models.py @@ -43,15 +43,17 @@ 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'),] - + 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)