mirror of
https://gitlab2.federez.net/re2o/re2o
synced 2024-08-20 14:13:41 +00:00
Rend le aes_field disponible pour tout le monde et mon chibracounet facilement
This commit is contained in:
parent
ca7c7c5fa3
commit
f99d2cef60
5 changed files with 6 additions and 6 deletions
|
@ -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),
|
||||
|
|
|
@ -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'),
|
||||
),
|
||||
]
|
||||
|
|
|
@ -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
|
||||
|
||||
|
||||
|
|
|
@ -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):
|
||||
|
|
Loading…
Reference in a new issue