Skip to content

Commit c688ce4

Browse files
Use url template tag for example URLs (#1879)
1 parent 757b82e commit c688ce4

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

example/templates/index.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,8 @@ <h1>Index of Tests</h1>
1212
<li><a href="/jquery/">jQuery 3.3.1</a></li>
1313
<li><a href="/mootools/">MooTools 1.6.0</a></li>
1414
<li><a href="/prototype/">Prototype 1.7.3.0</a></li>
15-
<li><a href="/turbo/">Hotwire Turbo</a></li>
16-
<li><a href="/htmx/">htmx</a></li>
15+
<li><a href="{% url 'turbo' %}">Hotwire Turbo</a></li>
16+
<li><a href="{% url 'htmx' %}">htmx</a></li>
1717
</ul>
1818
<p><a href="/admin/">Django Admin</a></p>
1919
{% endcache %}

0 commit comments

Comments
 (0)