Skip to main content

A reusable Django application to track user actions through the database..

Project description

Django Activity Tracker

pypi python Build Status codecov

A reusable Django application to track user actions through the database.

Introduction

I once worked on a project where user interactions about business entities needed to be recorded, in a detailed and consistent manner, in the database for auditing reasons. When a user changed the state of an object, the change, along with its author and time, should be saved. Furthermore, the object in question should be easily located. As I came up with a conveniently generic solution, I decided to turn this into a reusable application for Django projects.

Currently it works only in Django REST Framework projects, and with ModelViewSets, but in the future I plan to support Django CBVs and view functions as well.

Features

  • Track users interations with any model of your project in a generic way;
  • Retrive and protect this information;
  • Use the full capabilities of the Django ORM to gather information about what a specific user did to an object, what users interacted with it, and more!

Credits

This package was created with Cookiecutter and the waynerv/cookiecutter-pypackage project template.

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

django_activity_tracker-1.0.1.tar.gz (11.7 kB view details)

Uploaded Source

Built Distribution

django_activity_tracker-1.0.1-py3-none-any.whl (8.4 kB view details)

Uploaded Python 3

File details

Details for the file django_activity_tracker-1.0.1.tar.gz.

File metadata

File hashes

Hashes for django_activity_tracker-1.0.1.tar.gz
Algorithm Hash digest
SHA256 fb75c303e69bc9f2bd14f9774be15fe8bdfdbd0ca8cc7cf9a94edfae554b812d
MD5 bdc33f5a8862065525574d33d5d73fd8
BLAKE2b-256 8a7f0adfb232c0a6501f6b30f60ff6d2e1d198c0dd520abfdaf3fd53106ce636

See more details on using hashes here.

File details

Details for the file django_activity_tracker-1.0.1-py3-none-any.whl.

File metadata

File hashes

Hashes for django_activity_tracker-1.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 c6a5e4c253235c0edfa0167f57af8db72e8bd5b476bd35f5d65c81b1721ff8a6
MD5 61f7ea4cb420498232c38378a83fc59b
BLAKE2b-256 da0332cb2fdf427a15f28647f8ca971eeae6cd1289a48e0e315be4428745c06e

See more details on using hashes here.

Supported by

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