Remove deprecated display_name() methods from models

This commit is contained in:
jeremystretch
2021-05-04 16:05:17 -04:00
parent e1df1d3bf8
commit b22fddb111
9 changed files with 22 additions and 42 deletions

View File

@@ -344,7 +344,7 @@
<a href="{% url 'dcim:device' pk=device.pk %}">{{ device }}</a>
</td>
<td>{{ device.device_role }}</td>
<td>{{ device.device_type.display_name }}</td>
<td>{{ device.device_type }}</td>
{% if device.parent_bay %}
<td><a href="{{ device.parent_bay.device.get_absolute_url }}">{{ device.parent_bay.device }}</a></td>
<td>{{ device.parent_bay }}</td>