Anyone get Django Helper and Mako templates working together on GAE? I'm getting a django / django_helper error when I try it.
Mako compiles html templates into python code. I can get mako to work if I put the html in a string, but if the html is in a file then I get a django / django_helper error (see http://pastebin.com/m384339d8 -- the django (helper) error seems to be a 'ValueError' and the mako error that caused it seems to be an uncaught exception (line 19 in pastebin) for the exception 'mako.exceptions.CompileException'). Note: I set the module_directory to None so the error should not be caused by GAE trying to write a compiled .py file into the gae file system. I think mako and gae work together from these posts: http://groups.google.com/group/google-appengine/msg/42858dbd57dbc145 http://blog.pansapiens.com/2008/06/24/mako-templates-in-google-app-engine-seems-to-work-for-me/ but these posts don't use django / django helper. For django / mako integration, I use: http://code.google.com/p/django-mako/wiki/Usage My tech stack is: gae sdk 1.1.7 GAE Helper for Django r66 from trunk http://code.google.com/p/google-app-engine-django/source/checkout django v1.0 zipped file from http://github.com/Surgo/django-on-gae/tree/master and http://groups.google.com/group/google-appengine/msg/17479486c96a62b7 mako r430 from trunk djangomako 0.1.3 http://pypi.python.org/pypi/django-mako/0.1.3 Mako is a nice templating engine for programmers and it can work on gae. I'm hoping I can use it with django on gae... Also, I don't think django / django helper should produce a stack trace if the code for the django application has errors. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Google App Engine" group. To post to this group, send email to google-appengine@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en -~----------~----~----~----~------~----~------~--~---