Hi Preston,

2014-11-04 20:58 GMT+01:00 Preston Timmons <[email protected]>:

> With the new template update, do you foresee
> django.utils.setup_test_template_loader and
> django.utils.restore_template_loaders still working?
>

This is a good question. To be honest, I had filed it under "implementation
details I'll figure out when I get there" :-)

If I end up having to rewrite them, which is quite possible, expect a new
API. I don't like changing and restoring state with a pair of functions. I
prefer context managers / decorators for such use cases.

Since you find them useful, and even though they're private APIs, I'm
making a note to document changes to these functions.

-- 
Aymeric.

-- 
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 [email protected].
To post to this group, send email to [email protected].
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/CANE-7mWbdzO-5zw99DkQirj28i7%2BLxX5zaMkvmfFKuEYRM0LYw%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to