Move device and device_type ForeignKeys to abstract component models

This commit is contained in:
Jeremy Stretch
2020-07-02 13:07:32 -04:00
parent d03d302eef
commit 1f9cdc71d4
10 changed files with 186 additions and 207 deletions

View File

@@ -101,7 +101,7 @@
</li>
<li role="presentation"{% if active_tab == 'inventory' %} class="active"{% endif %}>
<a href="{% url 'dcim:device_inventory' pk=device.pk %}">
Inventory <span class="badge">{{ device.inventory_items.count }}</span>
Inventory <span class="badge">{{ device.inventoryitems.count }}</span>
</a>
</li>
{% if perms.dcim.napalm_read_device %}