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

Annotate all migration operation lists

This commit is contained in:
Jeremy Stretch
2019-12-05 17:42:33 -05:00
parent 5d772d7055
commit edbf562803
8 changed files with 31 additions and 0 deletions

View File

@@ -50,6 +50,8 @@ class Migration(migrations.Migration):
]
operations = [
# FrontPortTemplate.type
migrations.AlterField(
model_name='frontporttemplate',
name='type',
@@ -58,6 +60,8 @@ class Migration(migrations.Migration):
migrations.RunPython(
code=frontporttemplate_type_to_slug
),
# RearPortTemplate.type
migrations.AlterField(
model_name='rearporttemplate',
name='type',
@@ -66,6 +70,8 @@ class Migration(migrations.Migration):
migrations.RunPython(
code=rearporttemplate_type_to_slug
),
# FrontPort.type
migrations.AlterField(
model_name='frontport',
name='type',
@@ -74,6 +80,8 @@ class Migration(migrations.Migration):
migrations.RunPython(
code=frontport_type_to_slug
),
# RearPort.type
migrations.AlterField(
model_name='rearport',
name='type',