Skip to content

Commit

Permalink
Merge pull request #2681 from chdorner/fix/sitesettings-ondelete
Browse files Browse the repository at this point in the history
  • Loading branch information
chdorner authored Feb 18, 2023
2 parents 702c794 + dc5b797 commit 4b3849e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bookwyrm/models/site.py
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ class SiteSettings(SiteModel):
invite_request_question = models.BooleanField(default=False)
require_confirm_email = models.BooleanField(default=True)
default_user_auth_group = models.ForeignKey(
auth_models.Group, null=True, blank=True, on_delete=models.PROTECT
auth_models.Group, null=True, blank=True, on_delete=models.RESTRICT
)

invite_question_text = models.CharField(
Expand Down

0 comments on commit 4b3849e

Please sign in to comment.