2022-06-09 17:27:58 -04:00
|
|
|
import django.contrib.postgres.fields
|
|
|
|
import django.core.validators
|
|
|
|
from django.db import migrations, models
|
|
|
|
|
|
|
|
|
|
|
|
class Migration(migrations.Migration):
|
|
|
|
|
|
|
|
dependencies = [
|
|
|
|
('dcim', '0153_created_datetimefield'),
|
|
|
|
]
|
|
|
|
|
|
|
|
operations = [
|
|
|
|
migrations.AlterField(
|
|
|
|
model_name='devicetype',
|
|
|
|
name='u_height',
|
|
|
|
field=models.DecimalField(decimal_places=1, default=1.0, max_digits=4),
|
|
|
|
),
|
|
|
|
migrations.AlterField(
|
|
|
|
model_name='device',
|
|
|
|
name='position',
|
2023-06-15 15:00:45 -04:00
|
|
|
field=models.DecimalField(blank=True, decimal_places=1, max_digits=4, null=True, validators=[django.core.validators.MinValueValidator(1), django.core.validators.MaxValueValidator(100.5)]),
|
2022-06-09 17:27:58 -04:00
|
|
|
),
|
|
|
|
]
|