diff --git a/README.md b/README.md index c742b06f8f7bd2485eaaea6bd41acb14a096ea1e..d4fd69596eb9d585607557927881c1f9dd21c5a2 100644 --- a/README.md +++ b/README.md @@ -133,6 +133,13 @@ url(r'^posts/', LDPViewSet.urls(model=Post, permission_classes=(), filter_backen ### rdf_type ### auto_author +This property allows to associate a model with the logged in user. + +``` +class MyModel(models.Model): + author_user = models.ForeignKey(settings.AUTH_USER_MODEL) + class Meta: + auto_author = 'author_user' ## License