refactor: Traduction en anglais des modules "GestionInscription" et

"GestionLogin"
This commit is contained in:
N3WT DE COMPET
2025-01-12 10:07:06 +01:00
parent 830d9a48c0
commit 2b414b8391
69 changed files with 1393 additions and 1551 deletions

View File

@ -2,7 +2,7 @@ from django.contrib.auth.models import AbstractUser
from django.db import models
from django.utils.translation import gettext_lazy as _
from django.conf import settings
from GestionLogin.models import Profil
from Auth.models import Profile
class TypeNotif(models.IntegerChoices):
NOTIF_NONE = 0, _('Aucune notification')
@ -10,7 +10,7 @@ class TypeNotif(models.IntegerChoices):
NOTIF_DI = 2, _('Le dossier d\'inscription a été mis à jour')
class Notification(models.Model):
user = models.ForeignKey(Profil, on_delete=models.PROTECT)
user = models.ForeignKey(Profile, on_delete=models.PROTECT)
message = models.CharField(max_length=255)
is_read = models.BooleanField(default=False)
created_at = models.DateTimeField(auto_now_add=True)