Re: Bug in Django? It throws server error when context processor raises Http404

2015-06-09 Thread Alexey Grigoriev
I found this issue in my big project. And then I started new Django project from scratch, and reproduced the problem. You can reproduce this bug: 1) start new Django project 2) create context processor that raises Http404 3) set Debug=False 4) create custom '404.html' template And then you get

Bug in Django? It throws server error when context processor raises Http404

2015-06-09 Thread Alexey Grigoriev
Django doesn't catch django.http.Http404 exception in my context processor when Debug=False and when I have custom '404.html' template. It just throws Internal Server Error. Is it Django bug? -- You received this message because you are subscribed to the Google Groups "Django users" group. To