mirror of
https://gitlab.com/animath/si/plateforme.git
synced 2025-07-03 07:22:51 +02:00
Fix tests
This commit is contained in:
@ -340,6 +340,9 @@ class Payment(models.Model):
|
||||
def get_absolute_url(self):
|
||||
return reverse_lazy("registration:user_detail", args=(self.registration.user.id,))
|
||||
|
||||
def __str__(self):
|
||||
return _("Payment of {registration}").format(registration=self.registration)
|
||||
|
||||
class Meta:
|
||||
verbose_name = _("payment")
|
||||
verbose_name_plural = _("payments")
|
||||
|
Reference in New Issue
Block a user