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.3a0.tar.gz
(24.7 kB
view details)
Built Distribution
File details
Details for the file django-trackings-0.0.3a0.tar.gz
.
File metadata
- Download URL: django-trackings-0.0.3a0.tar.gz
- Upload date:
- Size: 24.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.10.2
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9845b2dc0d991990a969bf6ff222fbd68a6f992286492f2941b1feb3f75f2d7a |
|
MD5 | f35513fb71c109742259b15e4f8e71c7 |
|
BLAKE2b-256 | a6626b3ce91e4f0a443f34da50849b97aa7c1508fb4623b530e61db977bf7823 |
File details
Details for the file django_trackings-0.0.3a0-py3-none-any.whl
.
File metadata
- Download URL: django_trackings-0.0.3a0-py3-none-any.whl
- Upload date:
- Size: 31.8 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 | 5ecd8845f4404526b5d7ff17b4c12d946bd8039447b7904c3186949de1f2b572 |
|
MD5 | 9534917d0056376c443bbf41c6d15b4a |
|
BLAKE2b-256 | b26dbdd168f1a9313dd457d2bde65458835fb816137911b14d818d2080aba7f2 |