Manipulate all the templates to use {% url %} templatetag instead of hard coded URLs.
{% extends 'base.html' %}{% block content %}The textbook <a href="{% url view_textbook textbook.id %}">{{textbook.name}}</a> has been approved.<br />The textbook will now be public.{% endblock %}