twoscoops / two-scoops-of-django-1.6

Tracking thoughts and feature requests for Two Scoops of Django 1.6
51 stars 7 forks source link

Chapter 10. Page 122. Section 10.3. Example 10.2. Missing ending single-quote in docstring word. #85

Closed ssebastianj closed 9 years ago

ssebastianj commented 10 years ago

The word Tasty has the starting quote only:

 def validate_tasty(value):
 """Raise a ValidationError if the value doesn't start with the word 'Tasty
 """

Maybe, it should be:

 def validate_tasty(value):
 """Raise a ValidationError if the value doesn't start with the word 'Tasty'
 """