basxsoftwareassociation / bread

Engine to create database applications based on Django and the IBM Carbon Design System
BSD 3-Clause "New" or "Revised" License
19 stars 2 forks source link

Default status pages for production #117

Closed dward2nd closed 2 years ago

dward2nd commented 2 years ago

Due to this issue #35, I have made views for status codes 400, 403, 404, and 500 (The default views that can be overrided from Django).

In order to test, temporarily set DEBUG = False in the setting first. And run the server using ./manage.py runserver --insecure. This is because Django won't manage static files when debug mode turned off.

I've tested the views for 404 and 500. However, I still have no idea how to test 403 or 400 for now. But I hope it would give the similar result as well.