Preston Timmons
2015-06-10 17:46:00 UTC
Hi all,
I've been working through solutions for #15667 -- template based widget
rendering. This is a problem that was close to a solution at one time, but
stalled out due to performance concerns and difficulties with defining a
workable API to create configurable template loaders.
Now that Jinja2 is supported, performance isn't as much a concern. So,
I'd like to tackle the API portion of this.
This problem has two sides:
1) Converting individual widgets to be rendered with templates.
2) Deciding how to instantiate a user-customizable template engine.
The first is easy to accomplish, but the second isn't. I've written a
proposal for the second problem available here:
https://gist.github.com/prestontimmons/24a2a835bea590afb70b
In addition, a WIP branch is available here:
https://github.com/prestontimmons/django/tree/ticket-15667
Hopefully, we can finally get this in. :)
Preston
I've been working through solutions for #15667 -- template based widget
rendering. This is a problem that was close to a solution at one time, but
stalled out due to performance concerns and difficulties with defining a
workable API to create configurable template loaders.
Now that Jinja2 is supported, performance isn't as much a concern. So,
I'd like to tackle the API portion of this.
This problem has two sides:
1) Converting individual widgets to be rendered with templates.
2) Deciding how to instantiate a user-customizable template engine.
The first is easy to accomplish, but the second isn't. I've written a
proposal for the second problem available here:
https://gist.github.com/prestontimmons/24a2a835bea590afb70b
In addition, a WIP branch is available here:
https://github.com/prestontimmons/django/tree/ticket-15667
Hopefully, we can finally get this in. :)
Preston
--
You received this message because you are subscribed to the Google Groups "Django developers (Contributions to Django itself)" group.
To unsubscribe from this group and stop receiving emails from it, send an email to django-developers+***@googlegroups.com.
To post to this group, send email to django-***@googlegroups.com.
Visit this group at http://groups.google.com/group/django-developers.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-developers/c0ea2593-05c2-4307-86ea-1b34c05d0f7a%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
You received this message because you are subscribed to the Google Groups "Django developers (Contributions to Django itself)" group.
To unsubscribe from this group and stop receiving emails from it, send an email to django-developers+***@googlegroups.com.
To post to this group, send email to django-***@googlegroups.com.
Visit this group at http://groups.google.com/group/django-developers.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-developers/c0ea2593-05c2-4307-86ea-1b34c05d0f7a%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.