You are here: Home / LBN / Up2date / Core Linux / BastionLinux 36 / python3-django-guid-3.4.0-1.lbn36.noarch

python3-django-guid-3.4.0-1.lbn36.noarch

Package Attributes
RPM  python3-django-guid-3.4.0-1.lbn36.noarch.rpm Architecture  noarch Size  66599 Created  2024/04/10 09:41:31 UTC
Package Specification
Summary Middleware that enables single request-response cycle tracing by injecting a unique ID into project logs
Group Application/Internet
License ZPL
Home Page https://pypi.org/project/django-guid
Description

Django GUID

Django GUID attaches a unique correlation ID/request ID to all your log outputs for every request. In other words, all logs connected to a request now has a unique ID attached to it, making debugging simple. Which version of Django GUID you should use depends on your Django version and whether you run ASGI or WSGI servers. To determine which Django-GUID version you should use, please see the table below.

Django GUID >= 3.0.0 uses ContextVar to store and access the GUID. Previous versions stored the GUID to an object, making it accessible by using the ID of the current thread. (Version 2 of Django GUID is supported until Django2.2 LTS has passed.)

Resources:

Free software: BSD License Documentation: https:/django-guid.readthedocs.io Homepage: https:/github.com/snok/django-guid

Examples Log output with a GUID: INFO ... [77

Requires
rpmlib(PayloadFilesHavePrefix)  
rpmlib(PayloadIsZstd)  
rpmlib(CompressedFileNames)  
rpmlib(PartialHardlinkSets)  
rpmlib(FileDigests)  
Provides
python-django-guid
python3-django-guid
python3.10-django-guid
python3.10dist(django-guid)
python3dist(django-guid)
Obsoletes
python-django-guid

Document Actions