问题
I want to use Mako templates with GAE instead of Django templates. I found this post http://blog.pansapiens.com/2008/06/24/mako-templates-in-google-app-engine-seems-to-work-for-me/
I downloaded Mako from this page by using easy_install http://www.makotemplates.org/download.html
But that gave me a "beaker" file
c:\python26\lib\site-packages\beaker-1.5.4-py2.6.egg
that I don't know what to do with.
Can someone help me so that I can get "Mako" file to put in my GAE directory as instructed in the blog.
I saw the reference to Mako/GAE here Google App Engine--Dynamically created templates
Thank you.
回答1:
I use Mako on App Engine. It works very well for me.
All I do is download mako directly, then place the mako module directory in my app root.
来源:https://stackoverflow.com/questions/3938963/mako-templates-with-google-app-engine