Revise and improve your web application based on the comments you received in
the code review. A few things to think about:
Put your revision's home page at webapp4/index.py in your thacker web space.
Include in your revised readme file a section containing:
A list of the changes you made between code review and revision.
For each change, a brief explanation of why you made the change. (Maintainability,
readability, fixing a bug, improved separation of responsibilities, reusability,
easier to test,...)
If there were changes you wanted to make but did not because of
time constraints, briefly note them as well.
Ideally, your code will isolate the querying of the database from the HTML
generation. Though the HTML generation is dependent on the database results, the two
operations are conceptually distinct, and the more complicated either piece gets, the
more difficult it becomes to maintain combined code.
As usual, every source file should include its authors' names and a brief
description of the purpose of the file in a comment at the top of the file.