From f1661ac2b2af54e8474d5a844a29240669568328 Mon Sep 17 00:00:00 2001 From: Hugo LEVY-FALK Date: Sat, 7 Jul 2018 20:53:42 +0200 Subject: [PATCH] Suppression d'un champ inutile --- cotisations/payment_methods/mixins.py | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/cotisations/payment_methods/mixins.py b/cotisations/payment_methods/mixins.py index 62ebbf32..cbbe1427 100644 --- a/cotisations/payment_methods/mixins.py +++ b/cotisations/payment_methods/mixins.py @@ -1,15 +1,5 @@ -from django.db import models - -from cotisations.models import Paiement - - class PaymentMethodMixin: """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): """Redefine this method in order to get a different ending to the