* adds geom back writing to form field in case of invalid geometry, so the invalid geometry will be shown again * updates tests * fixes bug where race condition of celery workers could lead to duplicates in parcels (needs migration)
26 lines
827 B
Python
26 lines
827 B
Python
# Generated by Django 3.1.3 on 2022-04-20 09:01
|
|
|
|
from django.db import migrations, models
|
|
|
|
|
|
class Migration(migrations.Migration):
|
|
|
|
dependencies = [
|
|
('konova', '0010_auto_20220420_1034'),
|
|
]
|
|
|
|
operations = [
|
|
migrations.AddConstraint(
|
|
model_name='district',
|
|
constraint=models.UniqueConstraint(fields=('key', 'name'), name='Unique district constraint'),
|
|
),
|
|
migrations.AddConstraint(
|
|
model_name='municipal',
|
|
constraint=models.UniqueConstraint(fields=('key', 'name', 'district'), name='Unique municipal constraint'),
|
|
),
|
|
migrations.AddConstraint(
|
|
model_name='parcelgroup',
|
|
constraint=models.UniqueConstraint(fields=('key', 'name', 'municipal'), name='Unique parcel group constraint'),
|
|
),
|
|
]
|