forked from mirrors/bookwyrm
Merge pull request #878 from mouse-reeve/fixes-invites
Fixes creating invites
This commit is contained in:
commit
5ad46f99b5
1 changed files with 1 additions and 1 deletions
|
@ -233,7 +233,7 @@ class InviteRequestForm(CustomForm):
|
||||||
class CreateInviteForm(CustomForm):
|
class CreateInviteForm(CustomForm):
|
||||||
class Meta:
|
class Meta:
|
||||||
model = models.SiteInvite
|
model = models.SiteInvite
|
||||||
exclude = ["code", "user", "times_used"]
|
exclude = ["code", "user", "times_used", "invitees"]
|
||||||
widgets = {
|
widgets = {
|
||||||
"expiry": ExpiryWidget(
|
"expiry": ExpiryWidget(
|
||||||
choices=[
|
choices=[
|
||||||
|
|
Loading…
Reference in a new issue