Middleware that allow check the times applied and the SQL amount used on any request and response process on django
Project description
sqlinspector2
Middleware that allow check the times applied and the SQL amount used on any request and response process on django 2.x
Installation using PIP command
- Use the command "pip install sqlinspector2"
- Add 'sqlinspector2' inside INSTALLED_APPS
- Add 'sqlinspector2.middleware.SqlInspectorMiddleware' inside MiDDLEWARE settings
- You need configure the logging settings first and after to configure it, you need to add the following logger:
'sqlinspector2': {
'handlers': ['console'], # You can add 'file' or email handler too
'level': 'DEBUG',
'propagate': True,
},
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
No source distribution files available for this release.See tutorial on generating distribution archives.
Built Distribution
Close
Hashes for sqlinspector2-1.0.1-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 636727fef234f61a2e32b11c6bcf0a44e2b571b3c81884bac2d30c2698983586 |
|
MD5 | 50aa7f7e788bd4006c5810073cf79084 |
|
BLAKE2b-256 | 50c97684d064576b307edef54bcdce1b32d0351406c0db7918c877711b1d6db7 |