8
0
Fork 0
mirror of https://gitlab2.federez.net/re2o/re2o synced 2024-11-24 04:13:12 +00:00
re2o/cotisations/migrations/0035_notepayment.py

44 lines
1.5 KiB
Python
Raw Permalink Normal View History

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):
dependencies = [("cotisations", "0034_auto_20180831_1532")]
2018-09-01 16:38:12 +00:00
operations = [
migrations.CreateModel(
name="NotePayment",
2018-09-01 16:38:12 +00:00
fields=[
(
"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
],
options={"verbose_name": "NoteKfet"},
2018-09-01 16:38:12 +00:00
bases=(cotisations.payment_methods.mixins.PaymentMethodMixin, models.Model),
)
2018-09-01 16:38:12 +00:00
]