First commit (without Notifications)

This commit is contained in:
Gregory Trullemans 2023-04-27 12:38:14 +02:00
parent 70ede95080
commit a8d70aaecd
1 changed files with 2 additions and 1 deletions

View File

@ -7,6 +7,7 @@ Les profils peuvent enregistrer les informations suivantes:
* si la barre de navigation doit être cachée ou non
"""
# from django.contrib.contenttypes.models import ContentType
from django.contrib.auth import get_user_model
from django.db import models
from jarvis.people.models import Gymnast
@ -53,7 +54,7 @@ class Profile(models.Model):
# gymnast = models.ForeignKey(
# Gymnast, on_delete=models.CASCADE, related_name="notifications"
# )
# functionality = models.PositiveSmallIntegerField(choices=FUNCTIONALITY_CHOICES)
# functionality = models.ForeignKey(ContentType, on_delete=models.CASCADE)
# def __str__(self):
# return f"{self.user} will be notified for add/update {self.functionality} to {self.gymnast}"