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:
parent
7b3631eed5
commit
673fd4542c
1 changed files with 2 additions and 2 deletions
|
@ -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(
|
||||||
|
|
Loading…
Reference in a new issue