Fix side effects with csrf token, add csrf_token to every post form + add ajax (see http://stackoverflow.com/questions/5100539/django-csrf-check-failing-with-an-ajax-post-request), remove django.middleware.csrf.CsrfViewMiddleware ?!
{% extends "site/layout/base.html" %}
{% load i18n %}
{% block content %}
<h1>404: {% blocktrans %}Page not found{% endblocktrans %}</h1>
{% blocktrans %}The requested page could not be found.{% endblocktrans %}
{% endblock %}