Update documentation for new feature

This commit is contained in:
Jan-Jelle Kester 2015-06-03 16:50:00 +02:00
parent 0c0d1dffe1
commit c40ae32955

View file

@ -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::