notes for flask mega tutorial