I am customizing 500.html and set Debug to False, so it renders 500 error but as Debug is set to False, it cannot render the static files correctly.
How can I set it to the production mode and test the 500 error page correctly? or how can I set static files correctly when debug is false?
Use --insecure
flag to force serve the static files
python manage.py runserver --insecure