mirror of
https://github.com/ae-utbm/sith.git
synced 2026-10-30 22:29:32 +00:00
Add godfathers
This commit is contained in:
1 parent
95b22cafe0
commit
5ba2ab925d
7 files changed
+114
-3
No files matched your search
@@ -168,6 +168,7 @@ class User(AbstractBaseUser):
|
||||
address = models.CharField(_("address"), max_length=128, blank=True, default="")
|
||||
parent_address = models.CharField(_("parent address"), max_length=128, blank=True, default="")
|
||||
is_subscriber_viewable = models.BooleanField(_("is subscriber viewable"), default=True)
|
||||
godfathers = models.ManyToManyField('User', related_name='godchildren', blank=True)
|
||||
|
||||
objects = UserManager()
|
||||
|
||||
|
||||
Reference in new issue
Block a user