Django error page w/ a stackoverflow search link.
Switch branches/tags
Nothing to show
Clone or download
emre Merge pull request #2 from ebertti/patch-1
Check debug on Middleware __init__
Latest commit 9537509 Sep 11, 2016


A custom Django technical error template that puts a related stackoverflow search link under the exception message.


$ (sudo) pip install django_stackoverflow_trace

Setting it up

Add the custom middleware to your MIDDLEWARE_CLASSES in the

if DEBUG: 
	MIDDLEWARE_CLASSES += ('django_stackoverflow_trace.DjangoStackoverTraceMiddleware', )

Next time you hit an error in your app, you will see an external link to a custom google search.

Using google search instead of stackoverflow

Add this into your