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