August 16, 2017 · Public
I'm going through your django tutorials, and running into some problems despite following your examples verbatim. Perhaps it's an issue related to my django version? (1.11 is the current release).
When I created the initial version of the album database website, with html in the views file, the webpage works, but won't display the album ID number.
Later, when using the try-except clauses, I typed in album.DoesNotExist on the exceptions, and got an UnboundLocalError message: local variable 'album' referenced before assignment. Help!
Otherwise, I've been enjoying your django tutorial immensely and helping me transition careers from retail management to backend web development.