Skip to main content

A simple Django Middleware for Exception Troubleshooting. It is meant to be used in debug mode only.

In a nutshell, the Middleware intercepts a exception thrown by a view and look up for the three most relevant questions on StackOverflow and print the result to the console.

Quick Start

1. Install using pip:

pip install django-soet

2. Include “soet” to your INSTALLED_APPS:

INSTALLED_APPS = [
    ...
    'soet',
]

3. Include “StackOverflowMiddleware” to your MIDDLEWARE_CLASSES:

MIDDLEWARE_CLASSES = (
    ...
    'soet.middleware.StackOverflowMiddleware',
)

4. Make sure you are running your project with DEBUG=True.

5. Start your development server and wait for the view exceptions (or not).

Preview

This is how it looks like in your Terminal:

https://github.com/vitorfs/soet/raw/master/soet.png

Release files for django-soet 1.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for django-soet 1.0
File Size Uploaded
django-soet-1.0.tar.gz 3.8 kB Details

Release files / django-soet-1.0.tar.gz

Download URL django-soet-1.0.tar.gz
Size 3.8 kB
Tags Source
SHA-256 checksum
How to use checksums
e096e3799eb7570507aa31d93498d1c301bbed2fc43122b3c667f3cc74c2f5d1
BLAKE2b-256 checksum
How to use checksums
ded149ad83165e4606a1f40d58ca64be4f0f58da5bab1938995f314648c1c906
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release history Release notifications | RSS feed

This release

1.0 This release

1 release file

0.1

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page