Metadata-Version: 2.1
Name: sqlinspector2
Version: 1.0.3
Summary: Middleware that allow check the times applied and the SQL amount used on any request and response process on django
Home-page: https://github.com/franklintiel/sqlinspector2.git
Author: Franklin Sarmiento
Author-email: franklinitiel@gmail.com
License: MIT
Project-URL: Documentation, https://github.com/franklintiel/sqlinspector2
Project-URL: Source, https://github.com/franklintiel/sqlinspector2
Project-URL: Tracker, https://github.com/franklintiel/sqlinspector2/issues
Keywords: sql inspector sqlinspector django2
Platform: UNKNOWN
Classifier: Development Status :: 5 - Production/Stable
Classifier: License :: OSI Approved :: MIT License
Classifier: Programming Language :: Python :: 3.5
Requires-Python: >=3.*
Description-Content-Type: text/markdown
Requires-Dist: Django

# 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
1. Use the command "pip install sqlinspector2"
2. Add 'sqlinspector2' inside INSTALLED_APPS
3. Add 'sqlinspector2.middleware.SqlInspectorMiddleware' inside MiDDLEWARE settings
4. Set inside your settings.py the variable ENABLE_SQL_INSPECTOR by example:
```
ENABLE_SQL_INSPECTOR = True # If you want display the LOGS then set True else False
```
5. 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,
  },
```

