add simple docstrings
This commit is contained in:
parent
4a52272558
commit
13d67c26bf
3 changed files with 15 additions and 0 deletions
|
|
@ -110,6 +110,9 @@ class Role(models.Model):
|
|||
|
||||
|
||||
class Membership(models.Model):
|
||||
"""
|
||||
Register the membership of a user to a club, including roles and membership duration.
|
||||
"""
|
||||
user = models.ForeignKey(
|
||||
settings.AUTH_USER_MODEL,
|
||||
on_delete=models.PROTECT
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue