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 hashes)

Uploaded Source

Built Distribution

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

Uploaded Python 3

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