Browse Source

Rend le aes_field disponible pour tout le monde et mon chibracounet facilement

fix_front_profil
Hugo LEVY-FALK 8 years ago
parent
commit
f99d2cef60
  1. 4
      cotisations/migrations/0032_chequepayment_comnpaypayment.py
  2. 4
      cotisations/migrations/0034_auto_20180703_0929.py
  3. 2
      cotisations/payment_methods/comnpay/models.py
  4. 2
      preferences/migrations/0040_auto_20180129_1745.py
  5. 0
      re2o/aes_field.py

4
cotisations/migrations/0032_chequepayment_comnpaypayment.py

@ -2,7 +2,7 @@
# Generated by Django 1.10.7 on 2018-07-02 18:56
from __future__ import unicode_literals
import cotisations.payment_methods.comnpay.aes_field
import re2o.aes_field
import cotisations.payment_methods.mixins
from django.db import migrations, models
import django.db.models.deletion
@ -55,7 +55,7 @@ class Migration(migrations.Migration):
fields=[
('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
('payment_credential', models.CharField(blank=True, default='', max_length=255)),
('payment_pass', cotisations.payment_methods.comnpay.aes_field.AESEncryptedField(blank=True, max_length=255, null=True)),
('payment_pass', re2o.aes_field.AESEncryptedField(blank=True, max_length=255, null=True)),
('payment', models.OneToOneField(editable=False, on_delete=django.db.models.deletion.CASCADE, related_name='payment_method', to='cotisations.Paiement')),
],
bases=(cotisations.payment_methods.mixins.PaymentMethodMixin, models.Model),

4
cotisations/migrations/0034_auto_20180703_0929.py

@ -2,7 +2,7 @@
# Generated by Django 1.10.7 on 2018-07-03 14:29
from __future__ import unicode_literals
import cotisations.payment_methods.comnpay.aes_field
import re2o.aes_field
from django.db import migrations, models
@ -21,6 +21,6 @@ class Migration(migrations.Migration):
migrations.AlterField(
model_name='comnpaypayment',
name='payment_pass',
field=cotisations.payment_methods.comnpay.aes_field.AESEncryptedField(blank=True, max_length=255, null=True, verbose_name='ComNpay Secret Key'),
field=re2o.aes_field.AESEncryptedField(blank=True, max_length=255, null=True, verbose_name='ComNpay Secret Key'),
),
]

2
cotisations/payment_methods/comnpay/models.py

@ -27,7 +27,7 @@ from django.utils.translation import ugettext_lazy as _l
from cotisations.models import Paiement
from cotisations.payment_methods.mixins import PaymentMethodMixin
from .aes_field import AESEncryptedField
from re2o.aes_field import AESEncryptedField
from .comnpay import Transaction

2
preferences/migrations/0040_auto_20180129_1745.py

@ -6,7 +6,7 @@ from django.db import migrations, models
try:
import preferences.aes_field as aes_field
except ImportError:
import cotisations.payment_methods.comnpay.aes_field as aes_field
import re2o.aes_field as aes_field
class Migration(migrations.Migration):

0
cotisations/payment_methods/comnpay/aes_field.py → re2o/aes_field.py

Loading…
Cancel
Save