Skip to content
Browse files

Update chapter06.rst

Changed model name from 'Book' to 'Author', so it correspond to the example.
  • Loading branch information...
1 parent 1127230 commit fa81ebbbd570d1f3460bfb2f7c4909e729742c4f @Meliowant committed
Showing with 1 addition and 1 deletion.
  1. +1 −1 chapter06.rst
View
2 chapter06.rst
@@ -327,7 +327,7 @@ that we want our ``Author`` model's ``email`` field to be optional -- that is,
a blank string should be allowed. In the real world, you might not have an
e-mail address on file for every author.
-To specify that the ``email`` field is optional, edit the ``Book`` model
+To specify that the ``email`` field is optional, edit the ``Author`` model
(which, as you'll recall from Chapter 5, lives in ``mysite/books/models.py``).
Simply add ``blank=True`` to the ``email`` field, like so:

0 comments on commit fa81ebb

Please sign in to comment.
Something went wrong with that request. Please try again.