Skip to content
Snippets Groups Projects
Commit a4cb19e5 authored by Benjamin Graillot's avatar Benjamin Graillot
Browse files

[member] Added parent_club field to Club

parent 05d8b3bc
No related branches found
No related tags found
1 merge request!65Resolve "Club Parent"
Pipeline #8005 passed with stages
in 4 minutes and 15 seconds
......@@ -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(
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment