{"categories":[{"label":"Quality Assurance","url":"https://skillfed.io/packages/category/software-development-quality-assurance/3"}],"enrichment":{"capability":"Detects N+1 query problems in Django applications by monitoring database queries during web requests, Celery tasks, and tests, with configurable thresholds and allowlisting.","skillfed_tags":["django-orm","performance-testing","query-optimization"],"use_cases":["Catch N+1 query bugs during Django test runs before code review or deployment","Monitor Celery background tasks for database query inefficiencies using signal hooks","Identify missing prefetch_related() calls in view code with precise file and line numbers","Allow-list known false positives or intentional query patterns to keep test suites clean","Debug query performance regressions by enabling full call stacks with ZEAL_SHOW_ALL_CALLERS"],"what_it_does":"django-zeal is a Django development tool that catches N+1 query problems\u2014situations where the same database query runs multiple times when it should run once. It monitors queries during web requests, Celery tasks, and test runs, detecting N+1s caused by missing prefetches or misuse of .defer(), .only(), and .get() methods. The tool integrates via Django middleware and signals, raising errors or logging warnings when problems are found.\n\nIt works by tracking which queries execute and how many times, with a configurable threshold for what counts as an N+1. You can allowlist specific model/field combinations, temporarily ignore sections of code, or listen to Django signals to handle detections globally. The package has no runtime dependencies and adds minimal overhead, making it practical for continuous use in development and test suites.","worth_installing":"Yes. django-zeal is a low-friction, actively maintained tool with no dependencies that solves a real Django performance problem. Install it in development and test environments to catch N+1 queries early. The MIT license is clear, and the overhead is acceptable for non-production use. Not suitable for production deployment."},"id":"django-zeal","links":{"html":"https://skillfed.io/packages/django-zeal","md":"https://skillfed.io/packages/django-zeal.md","pypi":"https://pypi.org/project/django-zeal/"},"maintenance":{"status":"active"},"meta":{"latest_release":"2026-07-24","license_spdx":null,"license_treatment":"unclear","name":"django-zeal","python_support":"supports_current","summary":"Detect N+1s in your Django app"},"popularity":{"monthly_downloads":133810,"position":11494,"tier":"top_15000"},"security":{"n_vulnerabilities":0},"version":"2.2.2"}
