Loading django/template/loader.py +0 −4 Original line number Diff line number Diff line Loading @@ -75,10 +75,6 @@ def select_template(template_name_list, dirs=_dirs_undefined, using=None): raise TemplateDoesNotExist("No template names provided") def get_template_from_string(*args, **kwargs): return Engine.get_default().from_string(*args, **kwargs) def render_to_string(*args, **kwargs): return Engine.get_default().render_to_string(*args, **kwargs) Loading docs/releases/1.8.txt +3 −2 Original line number Diff line number Diff line Loading @@ -838,8 +838,9 @@ Cleanup of the ``django.template`` namespace If you've been relying on private APIs exposed in the ``django.template`` module, you may have to import them from ``django.template.base`` instead. Also private APIs ``django.template.base.compile_string()`` and ``django.template.loader.find_template()`` were removed. Also private APIs ``django.template.base.compile_string()``, ``django.template.loader.find_template()``, and ``django.template.loader.get_template_from_string()`` were removed. Miscellaneous ~~~~~~~~~~~~~ Loading Loading
django/template/loader.py +0 −4 Original line number Diff line number Diff line Loading @@ -75,10 +75,6 @@ def select_template(template_name_list, dirs=_dirs_undefined, using=None): raise TemplateDoesNotExist("No template names provided") def get_template_from_string(*args, **kwargs): return Engine.get_default().from_string(*args, **kwargs) def render_to_string(*args, **kwargs): return Engine.get_default().render_to_string(*args, **kwargs) Loading
docs/releases/1.8.txt +3 −2 Original line number Diff line number Diff line Loading @@ -838,8 +838,9 @@ Cleanup of the ``django.template`` namespace If you've been relying on private APIs exposed in the ``django.template`` module, you may have to import them from ``django.template.base`` instead. Also private APIs ``django.template.base.compile_string()`` and ``django.template.loader.find_template()`` were removed. Also private APIs ``django.template.base.compile_string()``, ``django.template.loader.find_template()``, and ``django.template.loader.get_template_from_string()`` were removed. Miscellaneous ~~~~~~~~~~~~~ Loading