Having the template tag generate the URL for us makes it much easier to keep our links up to date. To change a URL in our project, we only need to change the URL pattern in urls.py, and Django will automatically insert the updated URL the next time the page is requested.

