mirror of
https://github.com/bookwyrm-social/bookwyrm.git
synced 2024-11-30 05:21:08 +00:00
Fix SiteSettings.default_user_auth_group
FK on_delete value
The migration uses `RESTRICT` instead of `PROTECT`, which is both more correct, but also those values need to be identical, otherwise Django thinks that there's a migration missing and will refuse to apply any new migrations.
This commit is contained in:
parent
702c79496b
commit
dc5b797796
1 changed files with 1 additions and 1 deletions
|
@ -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(
|
||||
|
|
Loading…
Reference in a new issue