Aside from setting up a webserver and doing collectstatic, is there any way I can see the exact look of my 404 and 500 pages in the development environment with the currect static files, before it gets deployed to production?
See I built custom 404 and 500 pages as per: Customised Error Views Documentation
And I try it out on my development server which is using the static pages collecter thingy: Staticfiles documentation
But the former requires DEBUG be OFF and the latter requires DEBUG be ON!?
Seek and I shall find... Apologies. Nothing to see here. The answer is, of course, here...
https://stackoverflow.com/a/7639983/75033
manage.py runserver --insecure
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With