create group form

adds a group creation form to user dashboard
This commit is contained in:
Hugh Rundle
2021-09-24 14:12:36 +10:00
parent e07a25e288
commit 4e93b09067
7 changed files with 49 additions and 21 deletions

View File

@ -295,6 +295,10 @@ class ListForm(CustomForm):
model = models.List
fields = ["user", "name", "description", "curation", "privacy"]
class GroupForm(CustomForm):
class Meta:
model = models.Group
fields = ["name", "description", "privacy"]
class ReportForm(CustomForm):
class Meta: