Commit f1661ac2 authored by Levy--Falk Hugo's avatar Levy--Falk Hugo

Suppression d'un champ inutile

parent 812661ca
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
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment