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

Fix PowerOutlet migrations

This commit is contained in:
Jeremy Stretch
2020-02-07 12:43:53 -05:00
parent dc1b7874ff
commit 12c7d83a91
2 changed files with 2 additions and 2 deletions

View File

@@ -22,7 +22,7 @@ def naturalize_powerports(apps, schema_editor):
def naturalize_poweroutlets(apps, schema_editor):
_update_model_names(apps.get_model('dcim', 'PowerPort'))
_update_model_names(apps.get_model('dcim', 'PowerOutlet'))
def naturalize_frontports(apps, schema_editor):

View File

@@ -22,7 +22,7 @@ def naturalize_powerporttemplates(apps, schema_editor):
def naturalize_poweroutlettemplates(apps, schema_editor):
_update_model_names(apps.get_model('dcim', 'PowerPortTemplate'))
_update_model_names(apps.get_model('dcim', 'PowerOutletTemplate'))
def naturalize_frontporttemplates(apps, schema_editor):