Not a question, just a piece of code. Feel free to use it. And any
feedback will be appreciated.

Starting from Django 1.2 you can create your custom template loader
that returns your Template object. Doing that you can make django's
render_to_response, render_to_string and counterparts render using
your template system.

I came up with this one: https://gist.github.com/972162
It loads Jinja2 templates transparently and falls back to Django
templates for admin, contrib and third-party apps.

And yes, I know about coffin I just don't like it's idea. I prefer
using Jinja2 templates their way and don't litter them with django
concepts such as template tags.

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

Reply via email to