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

Fix Interface tag replication in schema migration

This commit is contained in:
Jeremy Stretch
2020-06-23 12:50:22 -04:00
parent bb6be8e3d3
commit d1bd010e05

View File

@ -5,7 +5,7 @@ from django.db import migrations
def replicate_interfaces(apps, schema_editor):
ContentType = apps.get_model('contenttypes', 'ContentType')
TaggedItem = apps.get_model('taggit', 'TaggedItem')
TaggedItem = apps.get_model('extras', 'TaggedItem')
Interface = apps.get_model('dcim', 'Interface')
IPAddress = apps.get_model('ipam', 'IPAddress')
VMInterface = apps.get_model('virtualization', 'Interface')