Optional attachments can now be added to each entry after the main entry is recorded.
Adding two files that were not tracked.
Merge conflict resolved.
Added a try/except statement to catch session['logged_in'] errors.
Fixed two issues.  Images in the optional attachments are now displayed on the xtal page and entries can now be updated.
Fixed the navigation button hack to use jinja2's proper casting syntax.
Complete restructure into a module.
Cleaning up the repo.
Fixed path problem.  Database only stores basenames and reconstructs the path to the upload later.
I had to tweak a few things for the histogramming to work properly and did little housekeeping.  I removed some unecessary imports.
Fixed an import typo.
Fixed extraneous attachment attaching.
Login now redirects to intended page.
fixed error when clicking login link