8
0
Fork 0
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:
Hugo LEVY-FALK 2018-07-07 20:53:42 +02:00
parent 341778d72a
commit e3f3839a37

View file

@ -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