Istartwith vs startswith in Chapter 12 Page 86


#1

I was getting an error message when I tried to view a particular letter’s things in Hello Web App. The specific error is: “Unsupported lookup ‘istartwith’ for CharField or join on the field not permitted.”

I discovered that for “name__istartwith” is the problem. “name__startswith” worked just fine.


#2

Oh thanks for catching! It’s supposed to be istartswith (the i indicates case-insensitivity) so I definitely have a typo. Will fix and upload, appreciate the catch!