1
0
mirror of https://gitlab.com/animath/si/plateforme.git synced 2025-07-03 19:22:51 +02:00

Display payment status

This commit is contained in:
Yohann D'ANELLO
2021-01-18 18:13:58 +01:00
parent d5ba7a08a9
commit 53a55ee898
6 changed files with 98 additions and 30 deletions

View File

@ -298,7 +298,7 @@ class Payment(models.Model):
registration = models.OneToOneField(
ParticipantRegistration,
on_delete=models.CASCADE,
related_name="registration",
related_name="payment",
verbose_name=_("registration"),
)
@ -337,3 +337,7 @@ class Payment(models.Model):
null=True,
default=False,
)
class Meta:
verbose_name = _("payment")
verbose_name_plural = _("payments")