From 0f55c8f82da5e97fa2f36b9cd2f361561e42ea14 Mon Sep 17 00:00:00 2001 From: Benni Baermann Date: Tue, 18 May 2021 10:57:11 +0200 Subject: [PATCH] added MacOS to OS choices --- TODO | 2 ++ evapp/migrations/0023_auto_20210518_0856.py | 18 ++++++++++++++++++ evapp/models.py | 3 ++- 3 files changed, 22 insertions(+), 1 deletion(-) create mode 100644 evapp/migrations/0023_auto_20210518_0856.py diff --git a/TODO b/TODO index 18f1dfc..9972ffb 100644 --- a/TODO +++ b/TODO @@ -1,3 +1,5 @@ * remove dot before "Nextcloud" at login page. * Datumsformat bei Ausgabe ist englisch nicht deutsch. + +* use new it support adress in evapp/settings.py diff --git a/evapp/migrations/0023_auto_20210518_0856.py b/evapp/migrations/0023_auto_20210518_0856.py new file mode 100644 index 0000000..4147a97 --- /dev/null +++ b/evapp/migrations/0023_auto_20210518_0856.py @@ -0,0 +1,18 @@ +# Generated by Django 3.1.4 on 2021-05-18 08:56 + +from django.db import migrations, models + + +class Migration(migrations.Migration): + + dependencies = [ + ('evapp', '0022_merge_20210517_1058'), + ] + + operations = [ + migrations.AlterField( + model_name='employee', + name='os', + field=models.CharField(choices=[('UBU', 'Ubuntu (Standard)'), ('WIN', 'Windows (bitte Begründung angeben)'), ('MOS', 'Mac OS (nur wenn Mac gewählt)')], default='UBU', max_length=3, verbose_name='Betriebssystem'), + ), + ] diff --git a/evapp/models.py b/evapp/models.py index dd68e17..17ce07d 100644 --- a/evapp/models.py +++ b/evapp/models.py @@ -16,7 +16,8 @@ VENDOR_CHOICES = {'STANDARD': 'Dell Latitude', 'MAC': 'Mac (nur für Grafiker_innen)'} OS_CHOICES = {'UBU': 'Ubuntu (Standard)', - 'WIN': 'Windows (bitte Begründung angeben)',} + 'WIN': 'Windows (bitte Begründung angeben)', + 'MOS': 'Mac OS (nur wenn Mac gewählt)'} LANG_CHOICES = {'GER': 'Deutsch',