Commit afc641db authored by Alexandre's avatar Alexandre

update: README.md

parent 7b13000e
......@@ -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
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment