http://pydanny.com/cookie-project-templates-made-easy.html