mirror of
https://github.com/nanoy42/coope
synced 2024-11-22 19:33:11 +00:00
31 lines
1.3 KiB
Python
31 lines
1.3 KiB
Python
|
# Generated by Django 2.1 on 2019-06-23 08:49
|
||
|
|
||
|
from django.conf import settings
|
||
|
from django.db import migrations, models
|
||
|
import django.db.models.deletion
|
||
|
|
||
|
|
||
|
class Migration(migrations.Migration):
|
||
|
|
||
|
dependencies = [
|
||
|
migrations.swappable_dependency(settings.AUTH_USER_MODEL),
|
||
|
('preferences', '0014_auto_20190623_0957'),
|
||
|
]
|
||
|
|
||
|
operations = [
|
||
|
migrations.CreateModel(
|
||
|
name='DivideHistory',
|
||
|
fields=[
|
||
|
('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
|
||
|
('date', models.DateTimeField(auto_now_add=True)),
|
||
|
('total_cotisations', models.IntegerField(verbose_name='Nombre de cotisations')),
|
||
|
('total_cotisations_amount', models.DecimalField(decimal_places=2, max_digits=5, verbose_name='Montant total des cotisations')),
|
||
|
('total_ptm_amount', models.DecimalField(decimal_places=2, max_digits=5, verbose_name='Montant donné au Phœnix Technopôle Metz')),
|
||
|
('coopeman', models.ForeignKey(on_delete=django.db.models.deletion.PROTECT, related_name='divide_realized', to=settings.AUTH_USER_MODEL)),
|
||
|
],
|
||
|
options={
|
||
|
'verbose_name': 'Historique répartition',
|
||
|
},
|
||
|
),
|
||
|
]
|