{% extends 'error.html' %} {% block errormessage %} You are not the owner of this photo. {% endblock errormessage %}