mirror of
https://github.com/jazzband/django-auditlog.git
synced 2026-03-16 22:20:26 +00:00
Update documentation for new feature
This commit is contained in:
parent
0c0d1dffe1
commit
c40ae32955
1 changed files with 2 additions and 1 deletions
|
|
@ -25,7 +25,8 @@ Actors
|
|||
------
|
||||
|
||||
When using automatic logging, the actor is empty by default. However, auditlog can set the actor from the current
|
||||
request automatically. This does not need any custom code, adding a middleware class is enough.
|
||||
request automatically. This does not need any custom code, adding a middleware class is enough. When an actor is logged
|
||||
the remote address of that actor will be logged as well.
|
||||
|
||||
To enable the automatic logging of the actors, simply add the following to your ``MIDDLEWARE_CLASSES`` setting in your
|
||||
project's configuration file::
|
||||
|
|
|
|||
Loading…
Reference in a new issue