8
0
Fork 0
mirror of https://gitlab2.federez.net/re2o/re2o synced 2024-11-05 01:16:27 +00:00

Suppression d'un champ inutile

This commit is contained in:
Hugo LEVY-FALK 2018-07-07 20:53:42 +02:00
parent 812661cadd
commit f1661ac2b2

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