With debug=False, you can view errors like this:
https://docs.djangoproject.com/en/5.1/howto/error-reporting/#server-errors
https://docs.djangoproject.com/en/5.1/howto/error-reporting/#server-errors
On October 25, 2024 8:56:27 AM CDT, Lenny <verylenny7@gmail.com> wrote:
Hey, any of you ever hosted a website on cpanel? If so what process did you use? I tried uploading the django website code, creating the python app and installing dependencies but the site seems not to run unless Debug is True. I get a server error 500 when Debug is False. I followed this tutorial https://geekydocs.com/blog/deploying-your-django-application-in-cpanel and still get the error. Kindly help.
No comments:
Post a Comment