From 754b559a899a4750b1b9b896486324de0d1535f8 Mon Sep 17 00:00:00 2001 From: Alexandre <alexandre@happy-dev.fr> Date: Sun, 3 Mar 2019 14:18:58 +0000 Subject: [PATCH] update: README.md --- README.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/README.md b/README.md index 316e9a27..9520227c 100644 --- a/README.md +++ b/README.md @@ -156,6 +156,8 @@ class MyModel(models.Model): class Meta: auto_author = 'author_user' ``` +Now when an instance of `MyModel` is saved, its `author_user` property will be set to the current user. + ## permissions This allows you to add permissions for AnonymousUser, logged in user, author ... in the url: Currently, there are 3 choices : -- GitLab