mirror of
https://github.com/netbox-community/netbox.git
synced 2025-08-25 08:46:10 -06:00
Update status to be required
This commit is contained in:
parent
82b5e0e95c
commit
03a56c07d3
@ -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
|
from django.db import migrations, models
|
||||||
import django.db.models.deletion
|
import django.db.models.deletion
|
||||||
@ -9,8 +9,8 @@ import utilities.json
|
|||||||
class Migration(migrations.Migration):
|
class Migration(migrations.Migration):
|
||||||
|
|
||||||
dependencies = [
|
dependencies = [
|
||||||
('extras', '0083_savedfilter'),
|
|
||||||
('ipam', '0063_standardize_description_comments'),
|
('ipam', '0063_standardize_description_comments'),
|
||||||
|
('extras', '0083_savedfilter'),
|
||||||
('tenancy', '0009_standardize_description_comments'),
|
('tenancy', '0009_standardize_description_comments'),
|
||||||
('dcim', '0165_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)),
|
('custom_field_data', models.JSONField(blank=True, default=dict, encoder=utilities.json.CustomFieldJSONEncoder)),
|
||||||
('description', models.CharField(blank=True, max_length=200)),
|
('description', models.CharField(blank=True, max_length=200)),
|
||||||
('name', models.CharField(max_length=64)),
|
('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)),
|
('identifier', models.PositiveSmallIntegerField(blank=True, null=True)),
|
||||||
('comments', models.TextField(blank=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')),
|
('device', models.ForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.PROTECT, related_name='vdcs', to='dcim.device')),
|
@ -1078,7 +1078,6 @@ class VirtualDeviceContext(PrimaryModel):
|
|||||||
)
|
)
|
||||||
status = models.CharField(
|
status = models.CharField(
|
||||||
max_length=50,
|
max_length=50,
|
||||||
blank=True,
|
|
||||||
choices=VirtualDeviceContextStatusChoices,
|
choices=VirtualDeviceContextStatusChoices,
|
||||||
)
|
)
|
||||||
identifier = models.PositiveSmallIntegerField(
|
identifier = models.PositiveSmallIntegerField(
|
||||||
|
Loading…
Reference in New Issue
Block a user