Skip to main content
https://pypip.in/d/django-sql-stacktrace/badge.png

Pluggable application, which puts a python stack trace in the SQL query as a comment (useful for debugging).

For more details see http://adw0rd.com/2012/django-sql-stacktrace/en/

After installed you can see in processlist a SQL-query and comment with python stack trace:

watch -n1 mysqladmin processlist --verbose

Or you can see in a log files, such as log_slow_queries or log-bin (aka ‘binlog’).

How to install this wonderful package?

Install from http://pypi.python.org/pypi/django-sql-stacktrace/:

pip install django-sql-stacktrace

Or install the dev-version from GitHub:

pip install -e git://github.com/adw0rd/django-sql-stacktrace.git#egg=sqlstacktrace

Add to settings.py:

INSTALLED_APPS = (
    'sqlstacktrace',
)

SQL_STACKTRACE = True

Start runserver or any other server:

./manage.py runserver 8000

I wish you a successful debugging!

Metadata

Release files for django-sql-stacktrace 0.3.1

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-sql-stacktrace 0.3.1
File Size Uploaded Provenance
django-sql-stacktrace-0.3.1.tar.gz 4.0 kB Without provenance Details

Release files / django-sql-stacktrace-0.3.1.tar.gz

Download URL django-sql-stacktrace-0.3.1.tar.gz
Size 4.0 kB
Tags Source
SHA-256 checksum
How to use checksums
205ba1886b124e1ad3ae5999d0297f9b0971fc27124571b166c60ff3df582604
BLAKE2b-256 checksum
How to use checksums
7ae8af35d42e9fd5bba5ed34baf46736d0a038e88e7881a81072b198b5c83970
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Security for django-sql-stacktrace 0.3.1

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

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