Merge pull request #878 from mouse-reeve/fixes-invites

Fixes creating invites
This commit is contained in:
Mouse Reeve 2021-04-05 11:08:41 -07:00 committed by GitHub
commit 5ad46f99b5
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

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=[