1
0
mirror of https://gitlab.com/animath/si/plateforme.git synced 2025-07-05 12:03:58 +02:00

It is possible to validate payment status

This commit is contained in:
Yohann D'ANELLO
2021-01-18 20:02:49 +01:00
parent 53a55ee898
commit 4cd1e43564
6 changed files with 140 additions and 39 deletions

View File

@ -338,6 +338,9 @@ class Payment(models.Model):
default=False,
)
def get_absolute_url(self):
return reverse_lazy("registration:user_detail", args=(self.registration.user.id,))
class Meta:
verbose_name = _("payment")
verbose_name_plural = _("payments")