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.

Files for django-debug-helper, version 1.1.6
Filename, size File type Python version Upload date Hashes
Filename, size django_debug_helper-1.1.6-py3-none-any.whl (5.0 kB) File type Wheel Python version py3 Upload date Hashes View hashes
Filename, size django-debug-helper-1.1.6.tar.gz (2.6 kB) File type Source Python version None Upload date Hashes View hashes

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page