{"categories":[{"label":"Software Development","url":"https://skillfed.io/packages/category/software-development/16"},{"label":"Python Modules","url":"https://skillfed.io/packages/category/software-development-libraries-python-modules/19"}],"enrichment":{"capability":"Attaches a unique request ID to each Django HTTP request and integrates it into Python logging, enabling request tracing across server and application logs.","skillfed_tags":["request-tracing","logging-integration","abandoned"],"use_cases":["Correlate log entries between Nginx/Apache web server logs and Django application logs for a single request","Trace a user's request through multiple services or background tasks by passing the request ID as a header","Debug production issues by matching a specific request ID in server logs to corresponding application log entries","Implement request-scoped logging context in Django views and middleware without manual ID threading"],"what_it_does":"django-request-id is a Django middleware package that automatically assigns a unique identifier to each incoming HTTP request and makes it available throughout the request lifecycle. It integrates with Django's standard logging system via a custom filter, allowing you to include the request ID in log messages by adding a `%(request_id)` placeholder to your formatter. This enables correlation of log entries across your web server (Nginx, Apache, Heroku) and Django application, making it easier to trace a single user's request through your system.\n\nThe package retrieves the request ID from an HTTP header (typically `X-Request-ID`, configurable via `REQUEST_ID_HEADER` setting) if your web server provides one, or generates a unique ID automatically if not. It requires no external dependencies and integrates via a simple middleware registration and logging configuration. However, the package has not been maintained since 2021 and targets older Django and Python versions, so compatibility with current releases is uncertain.","worth_installing":"No. While the package is simple and has no dependencies, it is abandoned (last update 2021-01-11) and targets Django 1.8\u20131.10 and Python 2.7 / 3.3\u20133.5. Modern Django and Python versions are likely unsupported. For current projects, consider a maintained alternative or implement request ID tracking directly using Django's built-in logging context or third-party solutions actively maintained for modern Django."},"id":"django-request-id","links":{"html":"https://skillfed.io/packages/django-request-id","md":"https://skillfed.io/packages/django-request-id.md","pypi":"https://pypi.org/project/django-request-id/"},"maintenance":{"status":"abandoned"},"meta":{"latest_release":"2016-10-23","license_spdx":null,"license_treatment":"permissive","name":"django-request-id","python_support":"unspecified","summary":"Augment each request with unique id for logging purposes"},"popularity":{"monthly_downloads":116397,"position":12206,"tier":"top_15000"},"security":{"n_vulnerabilities":0},"version":"1.0.0"}
