Fixes #3853: Fix device role link on config context view

This commit is contained in:
Jeremy Stretch
2020-01-07 09:08:31 -05:00
parent 15545b70d6
commit e7ee4486a5
2 changed files with 2 additions and 1 deletions
+1 -1
View File
@@ -112,7 +112,7 @@
{% if configcontext.roles.all %}
<ul>
{% for role in configcontext.roles.all %}
<li><a href="{{ role.get_absolute_url }}">{{ role }}</a></li>
<li><a href="{% url 'dcim:device_list' %}?role={{ role.slug }}">{{ role }}</a></li>
{% endfor %}
</ul>
{% else %}