Track your Django models.
Project description
Django-tracker
dj-tracker
is an app that tracks your queries to help detecting some possible performance optimisations listed in Database access optimization.
Features
- Detailed field usage of model instances
- Report unused fields in a model instance and provides hints on when to use
.defer
and.only
- Report model instance attributes access and provides hints on when to use
.values
or.values_list
- Report cache hits and provides hints on when to use
iterator
- Provides hints on when to use
.count
,.contains
,.exists
- Detect N+1 queries
- Detect when a deferred field is loaded
- and many more insights into your queries....
Requirements
- Python:
>=3.8
- Django:
>=3.2
Getting started
Check out the installation steps.
Documentation
All documentation is in the "docs" directory and online at https://tijani-dia.github.io/django-tracker/
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 Distribution
django-trackings-0.0.1a0.tar.gz
(24.0 kB
view details)
Built Distribution
File details
Details for the file django-trackings-0.0.1a0.tar.gz
.
File metadata
- Download URL: django-trackings-0.0.1a0.tar.gz
- Upload date:
- Size: 24.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.10.2
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | f5d3bc97f6ded9a017ebfc3848ef67bfa8c34a0ff9233b181a2a78ab862b3f4b |
|
MD5 | 0afc57cacf746dfed4480a8c4c15318c |
|
BLAKE2b-256 | 9c3ca77d10b566ae48d5b848e396d496b2a610f2ff03e874115b5fcbedc14333 |
File details
Details for the file django_trackings-0.0.1a0-py3-none-any.whl
.
File metadata
- Download URL: django_trackings-0.0.1a0-py3-none-any.whl
- Upload date:
- Size: 30.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.10.2
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7d0ca206c332c396549f265ca5781861b894e8b5d9bdd19a1acc0defe6d6ef25 |
|
MD5 | 2c24af3f8d062200a999fdd920b8892f |
|
BLAKE2b-256 | 6f508562eb56b60ff34e494609fe21e5c439fbee4f001a0129660b603fb5eb81 |