Python Problem at Django Chapter 8 - Getting a single Object

So I’m at this part in the Python Django project where I put a int in the URL that’s connected to the database index number. The problem I have is that whenever I now try to load the webpage at the specified number (index) I keep getting this error(I’m doing books instead of movies btw):

I don’t know why the error is popping up. Based on the other images in VScode I should be doing everything right.

Screen Shot 2022-10-11 at 1.59.13 PM

Since you went with books, is there any chance you named the index “books_index” rather than “movies_index”? I have not taken this course, but that seems like the kinda mistake I would make it I was changing themes.