Skip to content

Commit 3f139da

Browse files
authored
Fix Post name attribute
The `PostNode` class uses as model Post which does not have any field `title`
1 parent 85da376 commit 3f139da

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/authorization.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ Let's use a simple example model.
1212
from django.db import models
1313
1414
class Post(models.Model):
15-
name = models.CharField(max_length=100)
15+
title = models.CharField(max_length=100)
1616
content = models.TextField()
1717
published = models.BooleanField(default=False)
1818
owner = models.ForeignKey('auth.User')

0 commit comments

Comments
 (0)