1
0
mirror of https://gitlab.crans.org/bde/nk20 synced 2025-06-21 09:58:23 +02:00

add simple docstrings

This commit is contained in:
Pierre-antoine Comby
2019-08-11 17:52:41 +02:00
parent 4a52272558
commit 13d67c26bf
3 changed files with 15 additions and 0 deletions

View File

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