cfahlgren1 / Bounce

A Django web application that uses MapBox to show thousands of outdoor basketball courts all around the United States
https://bouncemap.com
19 stars 9 forks source link

Error pages not showing correctly on live website #26

Closed z-siddiqi closed 4 years ago

z-siddiqi commented 4 years ago

I was checking the custom error pages on the live website, and to my surprise got the Django error page instead (see image). Production settings seem to have DEBUG=False so not really sure why this happens.

Screenshot from 2020-10-22 18-38-47

cfahlgren1 commented 4 years ago

I was checking the custom error pages on the live website, and to my surprise got the Django error page instead (see image). Production settings seem to have DEBUG=False so not really sure why this happens.

Screenshot from 2020-10-22 18-38-47

Yes, there was an issue with the productions settings where there was a duplicate DEBUG = True. It has since been fixed, however, the live site hasn't been setup with the new docker deployment process since we are thinking of migrating it from Heroku to Digital Ocean.

z-siddiqi commented 4 years ago

I was checking the custom error pages on the live website, and to my surprise got the Django error page instead (see image). Production settings seem to have DEBUG=False so not really sure why this happens. Screenshot from 2020-10-22 18-38-47

Yes, there was an issue with the productions settings where there was a duplicate DEBUG = True. It has since been fixed, however, the live site hasn't been setup with the new docker deployment process since we are thinking of migrating it from Heroku to Digital Ocean.

That makes sense, thanks for explaining.