From ffc0cd942305b3c3b2241c336d14e0440c5f6736 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tobias=20Ho=CC=88=C3=9Fl?= Date: Thu, 15 Nov 2018 10:54:43 +0100 Subject: [PATCH] Change default of change recommendation internal value to public --- .../migrations/0014_motionchangerecommendation_internal.py | 2 +- openslides/motions/models.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/openslides/motions/migrations/0014_motionchangerecommendation_internal.py b/openslides/motions/migrations/0014_motionchangerecommendation_internal.py index 56f3b52c9..8e1abd4cb 100644 --- a/openslides/motions/migrations/0014_motionchangerecommendation_internal.py +++ b/openslides/motions/migrations/0014_motionchangerecommendation_internal.py @@ -13,6 +13,6 @@ class Migration(migrations.Migration): migrations.AddField( model_name='motionchangerecommendation', name='internal', - field=models.BooleanField(default=True), + field=models.BooleanField(default=False), ), ] diff --git a/openslides/motions/models.py b/openslides/motions/models.py index e814c7efa..d4115c31e 100644 --- a/openslides/motions/models.py +++ b/openslides/motions/models.py @@ -740,7 +740,7 @@ class MotionChangeRecommendation(RESTModelMixin, models.Model): rejected = models.BooleanField(default=False) """If true, this change recommendation has been rejected""" - internal = models.BooleanField(default=True) + internal = models.BooleanField(default=False) """If true, this change recommendation can not be seen by regular users""" type = models.PositiveIntegerField(default=0)