mirror of
https://github.com/netbox-community/netbox.git
synced 2025-07-18 04:56:29 -06:00
Fix Interface tag replication in schema migration
This commit is contained in:
parent
bb6be8e3d3
commit
d1bd010e05
@ -5,7 +5,7 @@ from django.db import migrations
|
|||||||
|
|
||||||
def replicate_interfaces(apps, schema_editor):
|
def replicate_interfaces(apps, schema_editor):
|
||||||
ContentType = apps.get_model('contenttypes', 'ContentType')
|
ContentType = apps.get_model('contenttypes', 'ContentType')
|
||||||
TaggedItem = apps.get_model('taggit', 'TaggedItem')
|
TaggedItem = apps.get_model('extras', 'TaggedItem')
|
||||||
Interface = apps.get_model('dcim', 'Interface')
|
Interface = apps.get_model('dcim', 'Interface')
|
||||||
IPAddress = apps.get_model('ipam', 'IPAddress')
|
IPAddress = apps.get_model('ipam', 'IPAddress')
|
||||||
VMInterface = apps.get_model('virtualization', 'Interface')
|
VMInterface = apps.get_model('virtualization', 'Interface')
|
||||||
|
Loading…
Reference in New Issue
Block a user