|
|
|
@ -27,7 +27,6 @@ def add_comnpay(apps, schema_editor): |
|
|
|
) |
|
|
|
comnpay = ComnpayPayment() |
|
|
|
comnpay.payment_user = options.payment_id |
|
|
|
comnpay.payment_pass = options.payment_pass |
|
|
|
comnpay.payment = payment |
|
|
|
comnpay.save() |
|
|
|
payment.moyen = "ComnPay" |
|
|
|
@ -61,6 +60,6 @@ class Migration(migrations.Migration): |
|
|
|
], |
|
|
|
bases=(cotisations.payment_methods.mixins.PaymentMethodMixin, models.Model), |
|
|
|
), |
|
|
|
# migrations.RunPython(add_comnpay), |
|
|
|
# migrations.RunPython(add_cheque), |
|
|
|
migrations.RunPython(add_comnpay), |
|
|
|
migrations.RunPython(add_cheque), |
|
|
|
] |
|
|
|
|