1
Fork 0
mirror of https://github.com/Steffo99/sophon.git synced 2024-12-23 07:14:21 +00:00

🔧 Fix nullable fields for core

This commit is contained in:
Steffo 2021-09-01 17:28:38 +02:00
parent 7b3631eed5
commit 673fd4542c
Signed by: steffo
GPG key ID: 6965406171929D01

View file

@ -236,14 +236,14 @@ class ResearchGroup(SophonGroupModel):
description = models.TextField( description = models.TextField(
"Description", "Description",
help_text="A brief description of what the group is about.", help_text="A brief description of what the group is about.",
blank=True, blank=True, null=True,
) )
members = models.ManyToManyField( members = models.ManyToManyField(
User, User,
help_text="The users who belong to this group.", help_text="The users who belong to this group.",
related_name="is_a_member_of", related_name="is_a_member_of",
blank=True, blank=True, null=True,
) )
owner = models.ForeignKey( owner = models.ForeignKey(