force CGU/EULA approval on account creation

This commit is contained in:
imperosol
2026-09-21 13:28:09 +02:00
parent f2f0d21c6e
commit 3cc533044a
8 changed files with 75 additions and 55 deletions
+1
View File
@@ -291,6 +291,7 @@ class User(AbstractUser):
),
blank=True,
)
cgu_approved = models.BooleanField(_("ToS approved"), default=False)
godfathers = models.ManyToManyField("User", related_name="godchildren", blank=True)
objects = CustomUserManager()