mpeltriaux
a6f7e605e6
* adds needed migrations * refactors forms.py (700+ lines) in main konova app * splits into forms/ and forms/modals and single class/topic-files for better maintainability and overview * fixes bug in main konova app migration which could occur if a certain compensation migration did not run before
33 lines
1003 B
Python
33 lines
1003 B
Python
# Generated by Django 3.1.3 on 2022-08-15 06:03
|
|
|
|
from django.db import migrations, models
|
|
|
|
|
|
class Migration(migrations.Migration):
|
|
|
|
dependencies = [
|
|
('konova', '0014_resubmission'),
|
|
('compensation', '0008_auto_20220815_0803'),
|
|
]
|
|
|
|
operations = [
|
|
migrations.RemoveField(
|
|
model_name='compensation',
|
|
name='resubmission',
|
|
),
|
|
migrations.RemoveField(
|
|
model_name='ecoaccount',
|
|
name='resubmission',
|
|
),
|
|
migrations.AddField(
|
|
model_name='compensation',
|
|
name='resubmissions',
|
|
field=models.ManyToManyField(blank=True, null=True, related_name='_compensation_resubmissions_+', to='konova.Resubmission'),
|
|
),
|
|
migrations.AddField(
|
|
model_name='ecoaccount',
|
|
name='resubmissions',
|
|
field=models.ManyToManyField(blank=True, null=True, related_name='_ecoaccount_resubmissions_+', to='konova.Resubmission'),
|
|
),
|
|
]
|