Skip to content

Latest commit

 

History

History
26 lines (18 loc) · 787 Bytes

README.rst

File metadata and controls

26 lines (18 loc) · 787 Bytes

django-easy-audit

Yet another Django audit log app, hopefully the simplest one.

Quick start

  1. Add "easyaudit" to your INSTALLED_APPS setting like this:

    INSTALLED_APPS = [
        ...
        'easyaudit',
    ]
    
  2. Add django-easy-audit's middleware to your MIDDLEWARE (or MIDDLEWARE_CLASSES) setting like this:

    MIDDLEWARE = (
        ...
        'easyaudit.middleware.easyaudit.EasyAuditMiddleware',
    )
    
  3. Run 'python manage.py migrate easyaudit' to create the audit models.

  4. That's it! Now every CRUD event on your whole project will be registered in the audit models, which you will be able to query from the Django admin app. Additionally, this app will also log all authentication events and all URLs requested.