mirror of
https://github.com/Steffo99/sophon.git
synced 2024-12-22 14:54:22 +00:00
🔧 Fix nullable fields for core
This commit is contained in:
parent
f7144f1cd8
commit
0695ad6b26
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