Skip to content

Commit

Permalink
Use url pattern for internal links
Browse files Browse the repository at this point in the history
  • Loading branch information
johannaengland committed Dec 4, 2024
1 parent 96eb705 commit b50ab78
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
{% block object-tools-items %}
{% if has_add_permission %}
<li>
<a href="fake/" class="addlink">Fake incident</a>
<a href="{% url "admin:add-fake-incident" %}" class="addlink">Fake incident</a>
</li>
{% endif %}
{{ block.super }}
Expand Down

0 comments on commit b50ab78

Please sign in to comment.