Skip to content

Commit 8299a6e

Browse files
committed
docs: small improvement
1 parent 4f810ac commit 8299a6e

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

user_guide_src/source/tutorial/create_news_items.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -119,9 +119,9 @@ or if the row already exists and should be updated, based on the presence
119119
of a primary key. In this case, there is no ``id`` field passed to it,
120120
so it will insert a new row into it's table, **news**.
121121

122-
However, by default the insert and update methods in the model will
122+
However, by default the insert and update methods in the Model will
123123
not actually save any data because it doesn't know what fields are
124-
safe to be updated. Edit the model to provide it a list of updatable
124+
safe to be updated. Edit the **NewsModel** to provide it a list of updatable
125125
fields in the ``$allowedFields`` property.
126126

127127
::

0 commit comments

Comments
 (0)