Downloaded and changed a few lines. Not many and not sure which ones.
Basic working copy for the database interaction with views.py and the html templates. Using test_input and test_output functions and html templates. Includes changes to the init.py as well.
I created a new test_view.html template that displays clicked item's (from test_output.html) information.