1
0
mirror of https://github.com/netbox-community/netbox.git synced 2024-05-10 07:54:54 +00:00

#5401: Add custom field support for VMInterface

This commit is contained in:
Jeremy Stretch
2021-03-10 13:49:10 -05:00
parent 19b78e63ce
commit ac0c54cce4
7 changed files with 22 additions and 9 deletions

View File

@@ -54,4 +54,9 @@ class Migration(migrations.Migration):
name='last_updated',
field=models.DateTimeField(auto_now=True, null=True),
),
migrations.AddField(
model_name='vminterface',
name='custom_field_data',
field=models.JSONField(blank=True, default=dict, encoder=django.core.serializers.json.DjangoJSONEncoder),
),
]