After struggling with Django's templating language for a while, I
decided I wanted to switch to something with a bit more power. In
particular, I liked what I saw of Mako (being able to instantiate new
variables, and write functions for subroutines like making a row or
something).

After some googling, I found the "django-mako" plugin (http://
code.google.com/p/django-mako/w/list), but installing it caused any
attempts to run my server (using python manage.py runserver) to crash,
with an error message along the lines of "second argument of putenv
must be a string, not None". This was even _without_ django-mako
included in my MIDDLEWARE_CLASSES, which I found a bit odd.

I went back and looked at the plugin, and it looks like it hasn't been
updated in a couple of years, so I'm wondering if it's just outdated.
I believe it installed an older version of Django when I installed it,
so it may just have been that some features that I was using in my
project weren't compatible with whatever version it pulled in.

Can anyone recommend an alternative way to integrate mako templating?
Or any other templating language that's a bit looser in allowing a bit
of logic to mix in with the presentation layer?

Thanks.

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-us...@googlegroups.com.
To unsubscribe from this group, send email to 
django-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en.

Reply via email to