mirror of
https://gitlab2.federez.net/re2o/re2o
synced 2024-11-23 03:43:12 +00:00
Suppression d'un champ inutile
This commit is contained in:
parent
341778d72a
commit
e3f3839a37
1 changed files with 0 additions and 10 deletions
|
@ -1,15 +1,5 @@
|
||||||
from django.db import models
|
|
||||||
|
|
||||||
from cotisations.models import Paiement
|
|
||||||
|
|
||||||
|
|
||||||
class PaymentMethodMixin:
|
class PaymentMethodMixin:
|
||||||
"""The base class for payment models. They should inherit from this."""
|
"""The base class for payment models. They should inherit from this."""
|
||||||
payment = models.OneToOneField(
|
|
||||||
Paiement,
|
|
||||||
related_name='payment_method',
|
|
||||||
editable=False
|
|
||||||
)
|
|
||||||
|
|
||||||
def end_payment(self, invoice, request):
|
def end_payment(self, invoice, request):
|
||||||
"""Redefine this method in order to get a different ending to the
|
"""Redefine this method in order to get a different ending to the
|
||||||
|
|
Loading…
Reference in a new issue