Skip to main content

Django debug error related exception search on Google/ Stack Overflow.

Project description

django-debug-helper

Django debug error related exception search on Google/ Stack Overflow.

Installation

$ pip install django-debug-helper

Setting it up

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

if DEBUG:
	MIDDLEWARE += ('django-debug-helper.debug.ErrorSearchMiddleware', )

Next time you get an error in your applications, you will see an external link to a custom google/ stackoverflow search as you defined.

By default it set to google search, but if you want to use stackoverflow search instead of google then add this into your settings.py

DJANGO_TRACE_SEARCH_SITE = "stackoverflow"

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

django-debug-helper-1.1.5.tar.gz (2.6 kB view hashes)

Uploaded Source

Built Distribution

django_debug_helper-1.1.5-py3-none-any.whl (5.0 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page