Commit d7df4f31 authored by Jean-Baptiste's avatar Jean-Baptiste

syntax: update readme for LDPModel and ldp_path

parent 99b3ca9b
Pipeline #2251 passed with stage
in 32 seconds
......@@ -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()
......
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