diff --git a/README.md b/README.md index e8525f1c41aa65fa6f64b780ded4280a4012a706..6dfacc1d06e83a590611d4e004db43e15b6cff28 100644 --- a/README.md +++ b/README.md @@ -29,9 +29,10 @@ django-admin startproject myldpserver 3. Create your django model inside a file myldpserver/myldpserver/models.py ``` -from django.db import models +from djangoldp.models import LDPModel -class Todo(models.Model): +class Todo(LDPModel): + ldp_path = "/my-path/" name = models.CharField(max_length=255) deadline = models.DateTimeField()