From 673fd4542cd4f2c84bc77b91ffd9b6632c7074d2 Mon Sep 17 00:00:00 2001 From: Stefano Pigozzi Date: Wed, 1 Sep 2021 17:28:38 +0200 Subject: [PATCH] =?UTF-8?q?=F0=9F=94=A7=20Fix=20nullable=20fields=20for=20?= =?UTF-8?q?core?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- backend/sophon/core/models.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/backend/sophon/core/models.py b/backend/sophon/core/models.py index 124db2d..6b05b94 100644 --- a/backend/sophon/core/models.py +++ b/backend/sophon/core/models.py @@ -236,14 +236,14 @@ class ResearchGroup(SophonGroupModel): description = models.TextField( "Description", help_text="A brief description of what the group is about.", - blank=True, + blank=True, null=True, ) members = models.ManyToManyField( User, help_text="The users who belong to this group.", related_name="is_a_member_of", - blank=True, + blank=True, null=True, ) owner = models.ForeignKey(