{% extends "djohno/base.html" %} {% block content %} 500

You probably want to override the default 500 template, 500.html.

{% endblock %}