From 4d11ce293f2b47172a5fdb5db4caf2e0a8fec1d4 Mon Sep 17 00:00:00 2001 From: Benni Baermann Date: Thu, 9 Sep 2021 11:55:16 +0200 Subject: [PATCH] new wording for homeoffice and switch of Default --- evapp/migrations/0025_auto_20210909_0954.py | 18 ++++++++++++++++++ evapp/models.py | 2 +- 2 files changed, 19 insertions(+), 1 deletion(-) create mode 100644 evapp/migrations/0025_auto_20210909_0954.py diff --git a/evapp/migrations/0025_auto_20210909_0954.py b/evapp/migrations/0025_auto_20210909_0954.py new file mode 100644 index 0000000..294830d --- /dev/null +++ b/evapp/migrations/0025_auto_20210909_0954.py @@ -0,0 +1,18 @@ +# Generated by Django 3.1.4 on 2021-09-09 09:54 + +from django.db import migrations, models + + +class Migration(migrations.Migration): + + dependencies = [ + ('evapp', '0024_auto_20210526_1259'), + ] + + operations = [ + migrations.AlterField( + model_name='employee', + name='remote', + field=models.BooleanField(default=True, verbose_name='Braucht Arbeitsplatz in der Geschäftsstelle?'), + ), + ] diff --git a/evapp/models.py b/evapp/models.py index 25bd282..2ad4f52 100644 --- a/evapp/models.py +++ b/evapp/models.py @@ -56,7 +56,7 @@ class Employee(models.Model): firstdate_presence = models.DateField(null=True, verbose_name="Erster Tag der Anwesenheit in der Geschäftsstelle") jobdescription_german = models.CharField(null=True, max_length=100, verbose_name="Stellenbezeichnung(deutsch)") jobdescription_english = models.CharField(null=True, max_length=100, verbose_name="Job description(english)") - remote = models.BooleanField(verbose_name='Braucht keinen Arbeitsplatz weil Home-Office', default=False) + remote = models.BooleanField(verbose_name='Braucht Arbeitsplatz in der Geschäftsstelle?', default=True) desk = models.CharField(max_length=100, null=True, blank=True, verbose_name="Wo soll der Arbeitsplatz sein?") # IT related stuff