Fixes #2231: Remove get_absolute_url() from DeviceRole

This commit is contained in:
Jeremy Stretch
2018-07-18 11:24:36 -04:00
parent 05b35fa58e
commit c5bbcfee29
3 changed files with 1 additions and 5 deletions

View File

@@ -146,7 +146,7 @@
<tr>
<td>Role</td>
<td>
<a href="{{ device.device_role.get_absolute_url }}">{{ device.device_role }}</a>
<a href="{% url 'dcim:device_list' %}?role={{ device.device_role.slug }}">{{ device.device_role }}</a>
</td>
</tr>
<tr>