Add godfathers

This commit is contained in:
Skia
2016-09-19 20:29:43 +02:00
parent 95b22cafe0
commit 5ba2ab925d
7 changed files with 114 additions and 3 deletions

View File

@ -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()