Skip to content

Commit

Permalink
Adds registered classes to documentation, and updates version number
Browse files Browse the repository at this point in the history
  • Loading branch information
soynatan committed May 14, 2017
1 parent 66e1dda commit 56de31f
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
7 changes: 7 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,13 @@ you can define the following settings:
project's models if necessary. It can be a class or a string with `app_name.model_name`
format. Defaults to `[]`.

* `DJANGO_EASY_AUDIT_REGISTERED_CLASSES`

A list of classes django-easy-audit will log. If is set, only these models will be logged.
If it is not set, every model in your project will by logged. If a model is listed both in
this setting and in any of the unregistered classes settings, it won't be logged. Defaults
to `[]` (every model is logged by default).

## What does it do

django-easy-audit uses [Django signals](https://docs.djangoproject.com/en/dev/topics/signals/)
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@

setup(
name='django-easy-audit',
version='0.8',
version='0.9',
packages=find_packages(),
include_package_data=True,
license='GPL3',
Expand Down

0 comments on commit 56de31f

Please sign in to comment.