Skip to main content

A reusable django [DRF] application that handles auditing of requests and logins

Project description

DRF Audit Trail

A reusable django [DRF] application that handles auditing of requests and logins

Features

  • Request audit trail
  • Logins audit trail
  • Integration simplejwt

Usage

Para usar este app, você precisa efetuar a instação do mesmo e logo apos adicionar-lo ao INSTALLED_APPS do Django e configurar o middlewares no array de middlewares do seu django settings

Installation

pip install drf-audit-trail

Add to Django INSTALLED_APPS configuration

# settings.py

INSTALLED_APPS = [
    ...
    "drf_audit_trail"
]

Add to Django MIDDLEWARE configuration

# settings.py

MIDDLEWARE = [
    ...
    "drf_audit_trail.middleware.RequestLoginAuditEventMiddleware",
]

Flow

DER

DER

DER

RequestLoginAuditEventMiddleware class diagram

DER

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

drf_audit_trail-0.2.3.tar.gz (6.9 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

drf_audit_trail-0.2.3-py3-none-any.whl (11.4 kB view details)

Uploaded Python 3

File details

Details for the file drf_audit_trail-0.2.3.tar.gz.

File metadata

  • Download URL: drf_audit_trail-0.2.3.tar.gz
  • Upload date:
  • Size: 6.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.8.2 CPython/3.10.12 Linux/6.5.0-35-generic

File hashes

Hashes for drf_audit_trail-0.2.3.tar.gz
Algorithm Hash digest
SHA256 010f4e44694f0a972ea9900253f33c4eb7bc2b76dc0687232025212a98ac5422
MD5 aa8625f4f3ad20d455f04059d33cbbfe
BLAKE2b-256 7c0bb315c6a6a7045c30ed475350e0029e2cad52de5c4ef57a73682969360cb1

See more details on using hashes here.

File details

Details for the file drf_audit_trail-0.2.3-py3-none-any.whl.

File metadata

  • Download URL: drf_audit_trail-0.2.3-py3-none-any.whl
  • Upload date:
  • Size: 11.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.8.2 CPython/3.10.12 Linux/6.5.0-35-generic

File hashes

Hashes for drf_audit_trail-0.2.3-py3-none-any.whl
Algorithm Hash digest
SHA256 4fce387a63dc62ed4bd4fcd2bc784c19f344208c3ef9a8d868ab10aae9c5a672
MD5 f3e4b98c1cff70ac203678a99533524e
BLAKE2b-256 62edff361a2c1a047e8df6d52cded47c76ddfb9f7e40631d62864fa322927ec7

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page