requests-tracker
The Django Requests Tracker is designed for local Django development, particularly for Rest API development. It provides various debugging information, such as SQL queries, headers, and status codes.
Decision gist · record as of 2026-08-14
Yes, if you are actively developing a Django REST API locally. The tool is lightweight, low-friction to install, and provides valuable debugging insights for SQL and request inspection. However, maintenance is dormant (last release November 2023, last commit April 2024), so verify compatibility with your Django version before relying on it for new projects. Not suitable for production use.AI-flagged interpretation of the facts on this page — verify before relying
Before you install
- Requires django.contrib.staticfiles in INSTALLED_APPS and DjangoTemplates backend with APP_DIRS=True; intended for DEBUG mode only.
- Low friction install with only django and sqlparse as dependencies.
- Maintenance is dormant—last commit was 2024-04-18 and no releases since 2023-11-04—but the repository remains active and supports current Python versions (3.8–3.12).
License · maintenance · safety
MIT (permissive) — MIT license is permissive; you can use, modify, and distribute this package freely with minimal restrictions, making it safe for both commercial and open-source projects.
last release 2023-11-04 (1014 days) · last repo commit 2024-04-18 · 44 stars
0 known vulnerabilities (OSV.dev, 2026-08-14) · 109,292 downloads/mo, #12,520 on PyPI
Alternatives
Verify before relying
pip install requests-tracker
# In settings.py (DEBUG mode only)
INSTALLED_APPS += ["requests_tracker"]
MIDDLEWARE += ["requests_tracker.middleware.requests_tracker_middleware"]
INTERNAL_IPS = ["127.0.0.1"]
# In urls.py
if settings.DEBUG:
urlpatterns += [path("__requests_tracker__/", include("requests_tracker.urls"))]- Whether the tool works with async Django views and ASGI servers beyond the optional static file configuration mentioned.
- Current compatibility with Django versions released after 2023-11-04 (the latest release date).
- Performance impact of tracking all requests and SQL queries in a production-like development environment.
What it is and what it does
Django Requests Tracker is a development-only middleware for Django that intercepts and logs HTTP requests, responses, and database activity. It displays a searchable, sortable list of all requests sent to your application, showing HTTP method, path, view name, status code, query count, and execution time. Clicking into any request reveals detailed information: all SQL queries executed in that request's context with execution times and stacktraces, request and response headers, and the current Django settings (with sensitive values masked). It identifies common ORM problems like N+1 queries by labeling similar and duplicate queries.
The tool is designed specifically for REST API development and local debugging—it only activates in DEBUG mode and only for requests from INTERNAL_IPS. It depends on django and sqlparse, making installation straightforward. Configuration is optional and includes patterns to ignore certain paths or SQL queries, stacktrace display toggles, and SQL performance thresholds. The interface is web-based and accessed via a dedicated URL path in your project.
Use it for
- Debug N+1 query problems by viewing duplicate and similar query labels in request details.
- Inspect SQL execution times and stacktraces to identify slow or unexpected database calls during API development.
- Search and filter requests by path, view name, headers, or SQL content to isolate problematic endpoints.
- View masked Django settings in the running process to verify environment variables and configuration logic.
- Monitor request/response headers and status codes across multiple API calls without leaving the browser.
Worth the install?
AI-flagged interpretation of the facts on this page. Verify before relying on it.
Yes, if you are actively developing a Django REST API locally.
The tool is lightweight, low-friction to install, and provides valuable debugging insights for SQL and request inspection. However, maintenance is dormant (last release November 2023, last commit April 2024), so verify compatibility with your Django version before relying on it for new projects. Not suitable for production use.
Install
requests-tracker on PyPI
Before you install
Low friction install with only django and sqlparse as dependencies. Maintenance is dormant—last commit was 2024-04-18 and no releases since 2023-11-04—but the repository remains active and supports current Python versions (3.8–3.12).
Requires django.contrib.staticfiles in INSTALLED_APPS and DjangoTemplates backend with APP_DIRS=True; intended for DEBUG mode only.
License in practice
MIT license is permissive; you can use, modify, and distribute this package freely with minimal restrictions, making it safe for both commercial and open-source projects.
Quickstart
pip install requests-tracker
# In settings.py (DEBUG mode only)
INSTALLED_APPS += ["requests_tracker"]
MIDDLEWARE += ["requests_tracker.middleware.requests_tracker_middleware"]
INTERNAL_IPS = ["127.0.0.1"]
# In urls.py
if settings.DEBUG:
urlpatterns += [path("__requests_tracker__/", include("requests_tracker.urls"))]
Verify before relying
- Whether the tool works with async Django views and ASGI servers beyond the optional static file configuration mentioned.
- Current compatibility with Django versions released after 2023-11-04 (the latest release date).
- Performance impact of tracking all requests and SQL queries in a production-like development environment.
Package facts
| License | MIT permissive |
| Python support | Supports the current Python release >=3.8,<4.0 |
| Install friction | Low. Pure-Python wheel |
| Runtime dependencies | 2 packagesdjangosqlparse |
| Maintenance | Dormant 1,014 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 109,292 / month, #12,520 on PyPI 30-day window, as of 2026-08-14 |
| Known vulnerabilities | None known OSV.dev, checked 2026-08-14 |
| Classifiers | Environment :: Web EnvironmentFramework :: DjangoIntended Audience :: DevelopersIntended Audience :: Information TechnologyLicense :: OSI Approved :: MIT LicenseOperating System :: OS IndependentProgramming Language :: PythonProgramming Language :: Python :: 3Programming Language :: Python :: 3 :: OnlyProgramming Language :: Python :: 3.10Programming Language :: Python :: 3.11Programming Language :: Python :: 3.12Programming Language :: Python :: 3.8Programming Language :: Python :: 3.9Topic :: Internet :: WWW/HTTPTopic :: Internet :: WWW/HTTP :: HTTP ServersTopic :: Software DevelopmentTopic :: Software Development :: LibrariesTopic :: Software Development :: Libraries :: Python ModulesTyping :: Typed |
Evidence: requests_tracker-0.3.3-py3-none-any.whl
Tags
Let your AI agent find packages like this
Example. Real query, live index.
You found this page by searching. An agent finds it by wishing: SkillFed indexes 14,416 PyPI packages by what they can do, searchable in plain language.
wish › “django rest api debugging”
- requests-trackerA Django development middleware that collects and displays HTTP…
- djangorestframework-queryfieldsAllows Django REST framework API clients to request only specific…
- django-zen-queriesPrevents unintended database queries in Django views and serializers…
Give your agent the search over MCP, or paste the wish link into any chat.
More Software Development packages
Provides backported and experimental type hints for Python 3.9+, allowing use of newer typing features on older Python versions and enabling early experimentation with type system PEPs before they enter the standard library.
NumPy provides an N-dimensional array object and a comprehensive suite of mathematical, linear algebra, Fourier transform, and random number functions for scientific computing in Python.
FastAPI is a Python web framework for building REST APIs using type hints, with automatic request validation, serialization, and interactive API documentation.
Provides a way to document function parameters, class attributes, return types, and variables inline using Python's `Annotated` type hint syntax instead of traditional docstrings.
Typer builds command-line applications from Python functions using type hints, automatically generating help text, argument parsing, and shell completion.
Install it if you are building CLIs in Python.
Distlib provides low-level packaging utilities for building, distributing, and managing Python software—including metadata handling, version specifiers, wheel support, script installation, and dependency resolution.
See also django-querycount · django-queryinspect · django-debug-toolbar · django-graphiql-debug-toolbar · django-debug-toolbar-template-profiler · django-silk · drf-api-logger · Flask-DebugToolbar · py-jama-rest-client · aiohttp-debugtoolbar