Re: Server Error 500 Nginx when DEBUG=False

2023-01-29 Thread ALBERT ASHABA AHEEBWA
Thank you Larry! As I mentioned before, this only happens when DEBUG = False. I deployed the same app to pythonanywhere and it worked fine. No errors whatsoever. So I do believe it is has to do with my nginx. My problem with it is that only 2 routes are not working fine. Best Regards, Alber

Re: Server Error 500 Nginx when DEBUG=False

2023-01-29 Thread Larry Martell
On Sun, Jan 29, 2023 at 9:14 AM ALBERT ASHABA AHEEBWA < ashabaaheebwaalb...@gmail.com> wrote: > So I was able to successfully host my first ever Django app on linode. > After the excitement had won off, I started testing the routes, everything > was running fine except for two routes. > > SERVER E

Server Error 500 Nginx when DEBUG=False

2023-01-29 Thread ALBERT ASHABA AHEEBWA
So I was able to successfully host my first ever Django app on linode. After the excitement had won off, I started testing the routes, everything was running fine except for two routes. SERVER ERROR (500) These two views are sharing a template and I much doubt that is the cause. Since they are po