You'll have to update the default 404 handler ``django.views.defaults.page_not_found`` to accept exception_404, otherwise I think you'll get a TypeError.