Update next-13.md (#18512)

* Update next-13.md

update fieldname to match example-code

* Update contributors.yml
This commit is contained in:
lucasdon
2023-05-08 11:42:35 +02:00
committed by GitHub
parent 7994d36453
commit e7c6186540
2 changed files with 2 additions and 1 deletions

View File

@@ -31,3 +31,4 @@
- danielduckworth
- JonathanSchndr
- ArthurYidi
- lucasdon

View File

@@ -154,7 +154,7 @@ Create the following fields in your `posts` data model:
- a text input field called `title`
- a WYSIWYG input field called `content`
- an image relational field called `image`
- a datetime selection field called `published` - set the type to 'date'
- a datetime selection field called `publish_date` - set the type to 'date'
- a many-to-one relational field called `author` with the related collection set to `authors`
In Roles & Permissions, give the Public role read access to the `authors`, `posts`, and `directus_files` collections.