Update status to be required

This commit is contained in:
Daniel Sheppard 2022-11-10 10:58:27 -06:00
parent 82b5e0e95c
commit 03a56c07d3
2 changed files with 3 additions and 4 deletions

View File

@ -1,4 +1,4 @@
# Generated by Django 4.1.2 on 2022-11-04 12:46
# Generated by Django 4.1.2 on 2022-11-10 16:56
from django.db import migrations, models
import django.db.models.deletion
@ -9,8 +9,8 @@ import utilities.json
class Migration(migrations.Migration):
dependencies = [
('extras', '0083_savedfilter'),
('ipam', '0063_standardize_description_comments'),
('extras', '0083_savedfilter'),
('tenancy', '0009_standardize_description_comments'),
('dcim', '0165_standardize_description_comments'),
]
@ -25,7 +25,7 @@ class Migration(migrations.Migration):
('custom_field_data', models.JSONField(blank=True, default=dict, encoder=utilities.json.CustomFieldJSONEncoder)),
('description', models.CharField(blank=True, max_length=200)),
('name', models.CharField(max_length=64)),
('status', models.CharField(blank=True, max_length=50)),
('status', models.CharField(max_length=50)),
('identifier', models.PositiveSmallIntegerField(blank=True, null=True)),
('comments', models.TextField(blank=True)),
('device', models.ForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.PROTECT, related_name='vdcs', to='dcim.device')),

View File

@ -1078,7 +1078,6 @@ class VirtualDeviceContext(PrimaryModel):
)
status = models.CharField(
max_length=50,
blank=True,
choices=VirtualDeviceContextStatusChoices,
)
identifier = models.PositiveSmallIntegerField(