Add filter ignore fields to zone model
This commit is contained in:
parent
41d61ce3c5
commit
841da813db
2 changed files with 33 additions and 0 deletions
31
backend/right_tree/api/migrations/0006_auto_20211109_2255.py
Normal file
31
backend/right_tree/api/migrations/0006_auto_20211109_2255.py
Normal file
|
@ -0,0 +1,31 @@
|
|||
# Generated by Django 3.2.8 on 2021-11-09 22:55
|
||||
|
||||
from django.db import migrations, models
|
||||
|
||||
|
||||
class Migration(migrations.Migration):
|
||||
|
||||
dependencies = [
|
||||
('api', '0005_auto_20211104_2246'),
|
||||
]
|
||||
|
||||
operations = [
|
||||
migrations.AlterModelOptions(
|
||||
name='zone',
|
||||
options={'ordering': ['name', 'variant', 'refined_variant', 'id']},
|
||||
),
|
||||
migrations.AlterModelOptions(
|
||||
name='zoneimagesegment',
|
||||
options={'ordering': ['segment_order', 'id']},
|
||||
),
|
||||
migrations.AddField(
|
||||
model_name='zone',
|
||||
name='ignore_location_filter',
|
||||
field=models.BooleanField(default=False),
|
||||
),
|
||||
migrations.AddField(
|
||||
model_name='zone',
|
||||
name='ignore_soil_order_filter',
|
||||
field=models.BooleanField(default=False),
|
||||
),
|
||||
]
|
Loading…
Add table
Add a link
Reference in a new issue