django views issue?

You would set the “value” attribute of the submit button to the primary key of the book being selected. You can then retrieve the book information from your Books model in the view.