add default to cp field
This commit is contained in:
23
rog/migrations/0022_auto_20220822_2319.py
Normal file
23
rog/migrations/0022_auto_20220822_2319.py
Normal file
@ -0,0 +1,23 @@
|
||||
# Generated by Django 3.2.9 on 2022-08-22 14:19
|
||||
|
||||
from django.db import migrations, models
|
||||
|
||||
|
||||
class Migration(migrations.Migration):
|
||||
|
||||
dependencies = [
|
||||
('rog', '0021_templocation'),
|
||||
]
|
||||
|
||||
operations = [
|
||||
migrations.AlterField(
|
||||
model_name='shapelayers',
|
||||
name='layerof',
|
||||
field=models.IntegerField(choices=[(1, 'templocation'), (2, 'Location_line'), (3, 'Location_polygon')], default=1),
|
||||
),
|
||||
migrations.AlterField(
|
||||
model_name='templocation',
|
||||
name='cp',
|
||||
field=models.FloatField(default=0, null=True, verbose_name='Check Point'),
|
||||
),
|
||||
]
|
||||
Reference in New Issue
Block a user