1
0
mirror of https://gitlab.crans.org/bde/nk20 synced 2024-12-23 07:52:23 +00:00

[member] Added parent_club field to Club

This commit is contained in:
Benjamin Graillot 2020-03-23 09:07:39 +01:00
parent 05d8b3bc69
commit a4cb19e5b1

View File

@ -67,6 +67,13 @@ class Club(models.Model):
email = models.EmailField(
verbose_name=_('email'),
)
parent_club = models.ForeignKey(
'self',
null=True,
blank=True,
on_delete=models.PROTECT,
verbose_name=_('parent club'),
)
# Memberships
membership_fee = models.PositiveIntegerField(