Permalink
Browse files

Merge pull request #15 from Meliowant/patch-1


Changed model name from 'Book' to 'Author', so it correspond to the example.
  • Loading branch information...
2 parents 1127230 + fa81ebb commit 89468564f82056cddd40f03a1b0945339ea54e76 @jacobian jacobian committed Nov 7, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 chapter06.rst
View
@@ -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 8946856

Please sign in to comment.