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, Albert Ashaba Aheebwa +256 781 435857 On Sun, 29 Jan 2023, 17:20 Larry Martell, <larry.mart...@gmail.com> wrote: > > > 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 ERROR (500) >> >> These two views are sharing a template and I much doubt that is the >> cause. Since they are pointing to different routes. >> >> There's nothing in the /var/log/nginx/error.log file that is helpful. >> >> Everything is working as expected when DEBUG=True. >> >> Please help point me in the right direction. >> > > Check the uwsgi and Django logs. Also you can try using runserver and > seeing if any errors are shown there. If that does not yield anything > useful, set a breakpoint and step through the code until you find where the > error is coming from. > >> -- > You received this message because you are subscribed to the Google Groups > "Django users" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to django-users+unsubscr...@googlegroups.com. > To view this discussion on the web visit > https://groups.google.com/d/msgid/django-users/CACwCsY6n_2CgcScNXtR8TwH_r8r2hMM6otQoVX8Or%2BkfsW617A%40mail.gmail.com > <https://groups.google.com/d/msgid/django-users/CACwCsY6n_2CgcScNXtR8TwH_r8r2hMM6otQoVX8Or%2BkfsW617A%40mail.gmail.com?utm_medium=email&utm_source=footer> > . > -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe from this group and stop receiving emails from it, send an email to django-users+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/CAAQecPfCETmEYTa%2By0o%2Bv%2BAOBGzyAqE_b3E_OgLNnq-tK_SSZA%40mail.gmail.com.