forked from mirrors/bookwyrm
Fixes creting invites
This commit is contained in:
parent
d25c68f887
commit
04f459a2df
1 changed files with 1 additions and 1 deletions
|
@ -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=[
|
||||
|
|
Loading…
Reference in a new issue