mirror of https://gitlab.crans.org/bde/nk20
[member] Added parent_club field to Club
This commit is contained in:
parent
05d8b3bc69
commit
a4cb19e5b1
|
@ -67,6 +67,13 @@ class Club(models.Model):
|
||||||
email = models.EmailField(
|
email = models.EmailField(
|
||||||
verbose_name=_('email'),
|
verbose_name=_('email'),
|
||||||
)
|
)
|
||||||
|
parent_club = models.ForeignKey(
|
||||||
|
'self',
|
||||||
|
null=True,
|
||||||
|
blank=True,
|
||||||
|
on_delete=models.PROTECT,
|
||||||
|
verbose_name=_('parent club'),
|
||||||
|
)
|
||||||
|
|
||||||
# Memberships
|
# Memberships
|
||||||
membership_fee = models.PositiveIntegerField(
|
membership_fee = models.PositiveIntegerField(
|
||||||
|
|
Loading…
Reference in New Issue