Move the helper functions out of the view to make is less cluttered.
Redirect / to /books/ to avoid getting an error page.
Corrections according to Django's coding style guidelines.
Improved the model functions to use Django aggregate feature.
Displaying word cloud on the book detail page along with a kind of graph for unique vs total words.