Adding a link in the base template
Finally, let’s add the movies link in the base template. In /moviesstore/templates/base.html
, in the header section, add the following in bold:
… <div class="collapse navbar-collapse" id="navbarNavAltMarkup"> <div class="navbar-nav ms-auto navbar-ml"> <a class="nav-link" href= "{% url 'home.about' %}">About</a> <a class="nav-link" href= ...