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.