diff --git a/app/groups/models.py b/app/groups/models.py index ae880f4..e59e3ef 100644 --- a/app/groups/models.py +++ b/app/groups/models.py @@ -14,7 +14,6 @@ class GroupInformation(models.Model): public = models.BooleanField("Public", default=False, help_text="Indicates if the group is visible to all") requestable = models.BooleanField("Requestable", default=False, help_text="Indicates if people can request to join this group") moderated = models.BooleanField("Moderated", default=True, help_text="Indicates if the group requires new members to be accepted by a group admin") - parent = models.ForeignKey(Group, related_name="children_old", null=True, blank=True) parent_groups = models.ManyToManyField(Group, blank=True, related_name='children') description = models.TextField(help_text="Description of the group and its permissions", blank=True)