Explorar el Código

Fix Interface tag replication in schema migration

Jeremy Stretch hace 5 años
padre
commit
d1bd010e05
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      netbox/virtualization/migrations/0016_replicate_interfaces.py

+ 1 - 1
netbox/virtualization/migrations/0016_replicate_interfaces.py

@@ -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')