Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/bmelton/Django-Actuary
Actuary is a Django auditing application designed for relatively complete event logging via Middleware and Signals. Optionally uses Celery and Mongo, or just logs to file. Not ready for public consumption, but meant to be completed by the end of July for Julython.
https://github.com/bmelton/Django-Actuary
Last synced: 9 days ago
JSON representation
Actuary is a Django auditing application designed for relatively complete event logging via Middleware and Signals. Optionally uses Celery and Mongo, or just logs to file. Not ready for public consumption, but meant to be completed by the end of July for Julython.
- Host: GitHub
- URL: https://github.com/bmelton/Django-Actuary
- Owner: bmelton
- License: mit
- Created: 2012-07-06T18:02:08.000Z (over 12 years ago)
- Default Branch: master
- Last Pushed: 2012-07-06T18:04:11.000Z (over 12 years ago)
- Last Synced: 2024-08-13T07:08:44.604Z (4 months ago)
- Language: Python
- Size: 94.7 KB
- Stars: 5
- Watchers: 2
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGES.txt
- License: LICENSE.txt
Awesome Lists containing this project
- jimsghstars - bmelton/Django-Actuary - Actuary is a Django auditing application designed for relatively complete event logging via Middleware and Signals. Optionally uses Celery and Mongo, or just logs to file. Not ready for public consu (Python)
README
ACTUARY
==========Actuary aims to be a complete auditing solution for Django, with optional
support for Mongo as a backend store (using mongoengine) or Django's ORM, as
well as support for using Celery with bundled Tasks.Actuary uses middleware to capture page views, signals for capturing model
changes, and a callable for tracking custom events.This is super pre-alpha at this stage, and you should not download it as it
will almost certainly destroy your server.Installation
============Clone it to actuary and include actuary in your settings.py
If you want super-paranoid logging, also add
'actuary.middleware.ActuaryMiddleware',
to your 'MIDDLEWARE CLASSES'.There are a few settings you need to be aware of, namely:
* ACTUARY_USE_CELERY = True
- This will use Celery. The goal is to work with or without celery, and
there are compelling reasons not to, but I'm not developing this in a
sensitive environment, so I am using Celery for performance. Make sure
your selection matches your environment and application requirements.* ACTUARY_USE_MONGO = True
- I am developing with Mongo, and it IS the preferred method (if you ever
want to see your data again anyway), but we aim to have support for
regular ORM as well.* ACTUARY_TRACK_AJAX = True
- This only exists as an option to keep from periodic-polling requests to keep from
filling your audit log. It should almost certainly be on by default.LICENSE
=======Actuary is MIT-licensed.
www.opensource.org/licenses/mit-license.php/