Tsallaka zuwa abun ciki
Justice Tech School

The url Tag

Link with names.

Example
<a href="{% url 'home' %}">Home</a>
<a href="{% url 'post_detail' pk=post.pk %}">Read</a>

Exercise

Build a link.

{%  "home" %}

Quiz Test

Why use the url tag?

These free lessons are for learning. Join a full course for projects, mentor feedback and a verified certificate.