Remove deprecated display_name() methods from models

This commit is contained in:
jeremystretch
2021-05-04 16:05:17 -04:00
parent 5856275347
commit ea5d02b1e6
9 changed files with 22 additions and 42 deletions
+1 -1
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>