Attribute Error at update/inventory

I was told by another developer that is a part of my meetup group for Django that I need to specify the primary key just as you suggested. He told me that Django will automatically assign a primary key to my model in models.py. I think what you are trying to tell me is to have my url target the primary key in my path by typing in int:pk. I have done so and I have a new error message! I consider it progress because it found something!

I searched stack overflow and found python - Django - getting Error "Reverse for 'detail' with no arguments not found. 1 pattern(s) tried:" when using {% url "music:fav" %} - Stack Overflow

Do I need to match ‘updateinventory’ as the error message implies and as stack overflow implies?