With JQuery > 1.6 replace .attr() by .prop() or .val(), see http://api.jquery.com/prop/
{% 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 %}