Updating the About page to use the base template
The new About page will also extend the base template, and it will include a dummy text about the page and an image.
Creating the new About template
In /home/templates/home/about.html
, replace the entire template code with the following:
{% extends 'base.html' %} {% block content %} {% load static %} <div class="p-3"> <div class="container"> <div class="row mt-3"> <div class="col-md-6 mx-auto mb-3"> <h2>About</h2> <hr /> <p> At Movies Store, we offer a vast digital library that spans across...