2018-09-01 16:38:12 +00:00
|
|
|
# -*- coding: utf-8 -*-
|
|
|
|
# Generated by Django 1.10.7 on 2018-09-01 11:27
|
|
|
|
from __future__ import unicode_literals
|
|
|
|
|
|
|
|
import cotisations.payment_methods.mixins
|
|
|
|
from django.db import migrations, models
|
|
|
|
import django.db.models.deletion
|
|
|
|
|
|
|
|
|
|
|
|
class Migration(migrations.Migration):
|
|
|
|
|
2019-11-04 16:55:03 +00:00
|
|
|
dependencies = [("cotisations", "0034_auto_20180831_1532")]
|
2018-09-01 16:38:12 +00:00
|
|
|
|
|
|
|
operations = [
|
|
|
|
migrations.CreateModel(
|
2019-11-04 16:55:03 +00:00
|
|
|
name="NotePayment",
|
2018-09-01 16:38:12 +00:00
|
|
|
fields=[
|
2019-11-04 16:55:03 +00:00
|
|
|
(
|
|
|
|
"id",
|
|
|
|
models.AutoField(
|
|
|
|
auto_created=True,
|
|
|
|
primary_key=True,
|
|
|
|
serialize=False,
|
|
|
|
verbose_name="ID",
|
|
|
|
),
|
|
|
|
),
|
|
|
|
("server", models.CharField(max_length=255, verbose_name="server")),
|
|
|
|
("port", models.PositiveIntegerField(blank=True, null=True)),
|
|
|
|
("id_note", models.PositiveIntegerField(blank=True, null=True)),
|
|
|
|
(
|
|
|
|
"payment",
|
|
|
|
models.OneToOneField(
|
|
|
|
editable=False,
|
|
|
|
on_delete=django.db.models.deletion.CASCADE,
|
|
|
|
related_name="payment_method",
|
|
|
|
to="cotisations.Paiement",
|
|
|
|
),
|
|
|
|
),
|
2018-09-01 16:38:12 +00:00
|
|
|
],
|
2019-11-04 16:55:03 +00:00
|
|
|
options={"verbose_name": "NoteKfet"},
|
2018-09-01 16:38:12 +00:00
|
|
|
bases=(cotisations.payment_methods.mixins.PaymentMethodMixin, models.Model),
|
2019-11-04 16:55:03 +00:00
|
|
|
)
|
2018-09-01 16:38:12 +00:00
|
|
|
]
|