Fixes creting invites

This commit is contained in:
Mouse Reeve 2021-04-05 10:17:01 -07:00
parent d25c68f887
commit 04f459a2df

View file

@ -233,7 +233,7 @@ class InviteRequestForm(CustomForm):
class CreateInviteForm(CustomForm):
class Meta:
model = models.SiteInvite
exclude = ["code", "user", "times_used"]
exclude = ["code", "user", "times_used", "invitees"]
widgets = {
"expiry": ExpiryWidget(
choices=[