Skip to content

Settings

Natán edited this page Oct 19, 2017 · 5 revisions

Django Easy Audit allows some level of configuration. In your project's settings.py file, you can define the following settings:

What to log

  • DJANGO_EASY_AUDIT_WATCH_MODEL_EVENTS

    Defines whether to log model related events, such as when an object is created, updated, or deleted. Defaults to True.

  • DJANGO_EASY_AUDIT_WATCH_AUTH_EVENTS

    Defines whether to log user authentication events, such as logins, logouts and failed logins. Defaults to True.

  • DJANGO_EASY_AUDIT_WATCH_REQUEST_EVENTS

    Defines whether to log URL requests made to the project. Defaults to True

Clone this wiki locally