我想在 GAE 中使用 Mako 模板,而不是 Django 模板。我找到了这篇文章http://blog.pansapiens.com/2008/06/24/mako-templates-in-google-app-engine-seems-to-work-for-me/
我使用 easy_install http://www.makotemplates.org/download.html 从此页面下载了 Mako
但这给了我一个“烧杯”文件
c:\python26\lib\site-packages\beaker-1.5.4-py2.6.egg
我不知道该怎么办。
有人可以帮助我,以便我能够按照博客中的说明将“Mako”文件放入我的 GAE 目录中。
我在这里看到了对 Mako/GAE 的引用 Google App Engine--Dynamically created templates
谢谢。
最佳答案
我在 App Engine 上使用 Mako。它对我来说非常有效。
我所做的就是download直接使用mako,然后将mako模块目录放在我的应用程序根目录中。
关于google-app-engine - 使用 Google App Engine 的 Mako 模板,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/3938963/