1
0
mirror of https://gitlab.com/animath/si/plateforme.git synced 2025-06-28 19:12:50 +02:00

Add survey notification in the menu

This commit is contained in:
Emmy D'Anello
2025-03-19 23:56:53 +01:00
parent 702c8d8c9e
commit 97eea3b11a
11 changed files with 450 additions and 339 deletions

View File

@ -45,18 +45,21 @@ class Survey(models.Model):
blank=True,
default=None,
on_delete=models.SET_NULL,
related_name="surveys",
verbose_name=_("tournament restriction"),
help_text=_("When this field is filled, the survey participants will be restricted to this tournament members."),
)
completed_registrations = models.ManyToManyField(
ParticipantRegistration,
blank=True,
related_name="completed_surveys",
verbose_name=_("participants that completed the survey"),
)
completed_teams = models.ManyToManyField(
Team,
blank=True,
related_name="completed_surveys",
verbose_name=_("teams that completed the survey"),
)