Paginate support for flask framework (study from will_paginate).
Use bootstrap for css framework It requires Python2.6+ as string.format syntax.