Integrations
An integration is an optional extension to the django-user-trace
functionality.
Here are a list of available integrations:
Writing your own integration#
User Context#
You can access the ContextVar
used to store user attributes on the current thread from django_user_trace.context.user_attrs
.
Signals#
django_user_trace.signals.process_request
#
Signaled before the view is called, during the django-user-trace
middleware.
request: HttpRequest
— the Django HTTP request
django_user_trace.signals.cleanup_request
#
Signaled after the view has been called, during the django-user-trace
middleware.
request: HttpRequest
— the Django HTTP request
Last update: 2023-07-02
Created: 2023-07-02
Created: 2023-07-02