tangowithcode / tango_with_django_2

Django 2 and Python 3: Tango With Django 2 Book Repository
Apache License 2.0
68 stars 23 forks source link

Typo in Chapter 5 #12

Open Jiyuan-Yang opened 4 years ago

Jiyuan-Yang commented 4 years ago

Hello Dr. David Maxwell and Dr. Leif Azzopardi! In Chapter 5, section Telling Django about Your Database, you've given us some examples about other database engines supported by Django. In the source MarkDown files at this repo, you used PostgresSQL, but I've found that the official website of this database use PostgreSQL. It seems that there is a redundant s here. I think this is an extraordinary book and I've learned a lot, thank you very much for your efforts!

Jiyuan-Yang commented 4 years ago

And in Chapter 5, section Creating Models, in the sentence:

 Implementing the `__str()__` method in your classes will make debugging so much easier...

Maybe this should be __str__()?