add stored query django view
add lots of documentation to stored query code