Re: Why get "Server Error 500" instead of 404 template?

2017-12-11 Thread Chris Seberino
I didn't have logging enabled in my settings.py. Problem solved. > > > > --- > % more nginx.conf > > server { > server_name

Re: Why get "Server Error 500" instead of 404 template?

2017-12-11 Thread Chris Seberino
> > For more information, you need to show us your nginx configuration and > your wsgi server configuration. > > > Thanks a million. Here is what you asked for... --- %

Re: Why get "Server Error 500" instead of 404 template?

2017-12-11 Thread Antonis Christofides
Hello, Usually when you get a mere "Server error 500" without it showing you the Debug page though you have DEBUG=True, this means that the error occurs very early, before Django has had the opportunity to run. In that case, the error should have been logged in the gunicorn/uwsgi/whatever log,

Why get "Server Error 500" instead of 404 template?

2017-12-10 Thread Chris Seberino
I cannot track down why 404 page isn't being used. I can't get any help from syslog or Nginx log files. I tried adding DEBUG=True to settings.py and still no clues. I only get "Server Error 500". Here is settings.py TEMPLATES= [{"BACKEND" :