8
0
Fork 0
mirror of https://gitlab2.federez.net/re2o/re2o synced 2024-11-05 01:16:27 +00:00

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

This commit is contained in:
Hugo LEVY-FALK 2018-07-09 20:35:25 +02:00
parent 9f2a895104
commit 739b6884e0
5 changed files with 6 additions and 6 deletions

View file

@ -2,7 +2,7 @@
# Generated by Django 1.10.7 on 2018-07-02 18:56 # Generated by Django 1.10.7 on 2018-07-02 18:56
from __future__ import unicode_literals from __future__ import unicode_literals
import cotisations.payment_methods.comnpay.aes_field import re2o.aes_field
import cotisations.payment_methods.mixins import cotisations.payment_methods.mixins
from django.db import migrations, models from django.db import migrations, models
import django.db.models.deletion import django.db.models.deletion
@ -55,7 +55,7 @@ class Migration(migrations.Migration):
fields=[ fields=[
('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')), ('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_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')), ('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), bases=(cotisations.payment_methods.mixins.PaymentMethodMixin, models.Model),

View file

@ -2,7 +2,7 @@
# Generated by Django 1.10.7 on 2018-07-03 14:29 # Generated by Django 1.10.7 on 2018-07-03 14:29
from __future__ import unicode_literals from __future__ import unicode_literals
import cotisations.payment_methods.comnpay.aes_field import re2o.aes_field
from django.db import migrations, models from django.db import migrations, models
@ -21,6 +21,6 @@ class Migration(migrations.Migration):
migrations.AlterField( migrations.AlterField(
model_name='comnpaypayment', model_name='comnpaypayment',
name='payment_pass', 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'),
), ),
] ]

View file

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

View file

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