Просмотр исходного кода

Cable migration for ExportTemplate

Jeremy Stretch 7 лет назад
Родитель
Сommit
91ce6c2420
1 измененных файлов с 19 добавлено и 0 удалено
  1. 19 0
      netbox/extras/migrations/0016_exporttemplate_add_cable.py

+ 19 - 0
netbox/extras/migrations/0016_exporttemplate_add_cable.py

@@ -0,0 +1,19 @@
+# Generated by Django 2.0.9 on 2018-11-01 18:39
+
+from django.db import migrations, models
+import django.db.models.deletion
+
+
+class Migration(migrations.Migration):
+
+    dependencies = [
+        ('extras', '0015_remove_useraction'),
+    ]
+
+    operations = [
+        migrations.AlterField(
+            model_name='exporttemplate',
+            name='content_type',
+            field=models.ForeignKey(limit_choices_to={'model__in': ['provider', 'circuit', 'site', 'region', 'rack', 'rackgroup', 'manufacturer', 'devicetype', 'device', 'consoleport', 'powerport', 'interface', 'virtualchassis', 'aggregate', 'prefix', 'ipaddress', 'vlan', 'vrf', 'service', 'secret', 'tenant', 'cluster', 'virtualmachine']}, on_delete=django.db.models.deletion.CASCADE, to='contenttypes.ContentType'),
+        ),
+    ]