First commit (without Notifications)
This commit is contained in:
parent
70ede95080
commit
a8d70aaecd
|
@ -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}"
|
||||
|
|
Loading…
Reference in New Issue