dst

django_stackoverflow_trace

Django error page w/ a stackoverflow search link.

Showing:

Popularity

Downloads/wk

0

GitHub Stars

235

Maintenance

Last Commit

5yrs ago

Contributors

4

Package

Dependencies

0

License

MIT

Categories

Readme

django-stackoverflow-trace

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

Installation

$ (sudo) pip install django_stackoverflow_trace

Setting it up

Add the custom middleware to your MIDDLEWARE_CLASSES in the settings.py.

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 settings.py

DJANGO_STACKOVERFLOW_TRACE_SEARCH_SITE = "googlesearch"

Rate & Review

Great Documentation0
Easy to Use0
Performant0
Highly Customizable0
Bleeding Edge0
Responsive Maintainers0
Poor Documentation0
Hard to Use0
Slow0
Buggy0
Abandoned0
Unwelcoming Community0
100