intranet.apps.error package

Submodules

intranet.apps.error.tests module

class intranet.apps.error.tests.ErrorPageTest(methodName='runTest')[source]

Bases: IonTestCase

Tests that the error pages (currently just 404 errors) render properly.

test_404_page()[source]
test_503_page()[source]
test_csrf_page()[source]

intranet.apps.error.views module

intranet.apps.error.views.handle_404_view(request, exception)[source]
intranet.apps.error.views.handle_500_view(request)[source]
intranet.apps.error.views.handle_503_view(request)[source]
intranet.apps.error.views.handle_csrf_view(request, reason)[source]

Module contents