A simplified version of django-devserver limited to SQL tracing and Ajax dump.
Project description
A simplified version of django-devserver limited to SQL tracing and Ajax dump.
Motivations
django-devserver is a very nice and usefull package, but the project isn’t very active, and occasional problems related to new Django versions stay unfixed for long time even when a solution is available as PR.
Being mostly interested in tracing db queries, I finally decided to package a stripped down version of the project.
Quickstart
Install django-query-tracer:
pip install django-query-tracer
Add it to your INSTALLED_APPS:
INSTALLED_APPS = (
...
'query_tracer',
...
)
Add django-query-tracer’s middleware:
MIDDLEWARE_CLASSES = [
...
'query_tracer.middleware.QueryTracerMiddleware',
...
]
Features
See file “query_tracer/settings.py” for available options, and refer to django-devserver doc for usage/
Credits
This project is a stripped down version of:
django-devserver
Tools used in rendering this package:
History
0.1.0 (2017-09-25)
First release on PyPI.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distributions
Built Distribution
Hashes for django_query_tracer-0.1.1-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | cc584e86f9ed96ec8b1973d6c5335403c96b3c0f31f3130eb2e4cb1951c10fb7 |
|
MD5 | ca27b1aa558356c139f55926a352f3ec |
|
BLAKE2b-256 | 01a6fb139797f025e4fca96dc2869d0fd5a5396dd162e919c6173e1b72cec684 |