Skip to main content

pipeline status coverage report Code style: black python version license latest version

django-detailed-request-logging

Releases

This project follows the semantic versioning specification for its releases.

Development

Requirements

  • Python >=3.7
  • Django >=3.2
  • django-rest-framework >=3.12

Setup

  • Create and activate a python3 venv.
  • Install the library in the editable mode pip install -e .[test,stubs]
  • Install dev requirements pip install -r requirements-dev.txt.
  • Install git hooks to automatically format code using black with pre-commit install

Installation

From git in requirements.txt

To install this package from this git repository, add the django-detailed-request-logging package to the requirements.txt file.

To use it, add the following entry to MIDDLEWARE inside of your settings.py file:

MIDDLEWARE = [
    ...,
    "django_detailed_request_logging.middleware.LoggingMiddleware",
]

Then, add a new entry LOGGING_REQUEST_MIDDLEWARE to your settings.py file, changing the value of apps to the names of the apps you want to log requests on and changing the value of skip_methods to include all HTTP methods you do NOT want to get logged:

LOGGING_REQUEST_MIDDLEWARE = {
    "apps": ("projects",),
    "skip_methods": ("OPTIONS",),
}

Metadata

Release files for django-detailed-request-logging 1.2.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for django-detailed-request-logging 1.2.0
File Size Uploaded Provenance Actions
django-detailed-request-logging-1.2.0.tar.gz 7.7 kB Without provenance Details for django-detailed-request-logging-1.2.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for django-detailed-request-logging 1.2.0
File Interpreter ABI Platform Actions
django_detailed_request_logging-1.2.0-py3-none-any.whl Python 3 none any Details for django_detailed_request_logging-1.2.0-py3-none-any.whl

Total release size: 15.3 kB

Release files / django-detailed-request-logging-1.2.0.tar.gz

Download URL django-detailed-request-logging-1.2.0.tar.gz
Size 7.7 kB
Tags Source
SHA-256 checksum
How to use checksums
19b517a6a400ddf2a4f46d44832f30f428a15ff2dbbcd99af8714a3cbdd4936c
BLAKE2b-256 checksum
How to use checksums
e0b305a9c01fe32a1f726496440ee1a2f26128e1d6f27266790730b5c9cd446d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.4.2 importlib_metadata/4.6.3 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.0 CPython/3.9.6

Release files / django_detailed_request_logging-1.2.0-py3-none-any.whl

Download URL django_detailed_request_logging-1.2.0-py3-none-any.whl
Size 7.6 kB
Tags Python 3
SHA-256 checksum
How to use checksums
46b25a4958c11880d081b8a9fe42a996343af45e2f3bcb28d70335514000dda8
BLAKE2b-256 checksum
How to use checksums
1bfc8e00d08baf36c462cb9da81f86732580695407a38185a318e3db46280312
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.4.2 importlib_metadata/4.6.3 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.0 CPython/3.9.6

Security for django-detailed-request-logging 1.2.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page