Error using browse feature


#1

Hi! I’m having an issue whenever I try to use the browse page. http://localhost:8000/browse/name/ works fine, but whenever I click on an individual letter, I get this nasty error. I’ve googled it, but couldn’t seem to find any solutions.

Here’s the error and my code for the three relevant files

http://pastie.org/10947913

Any thoughts?


#2

You have one underscore before startswith — you need two. :)


#3

hahaha Thanks so much. I probably spent a good 5-6 hours trying to figure that out, but I’m glad it was so simple.

Thanks!

Tyler


#4

Welcome to programming! :D