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.6.tar.gz (2.6 kB view hashes)

Uploaded source

Built Distribution

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Huawei Huawei PSF Sponsor Microsoft Microsoft PSF Sponsor NVIDIA NVIDIA PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page