Loading docs/internals/deprecation.txt +10 −3 Original line number Diff line number Diff line Loading @@ -88,6 +88,13 @@ details on these changes. * The backwards compatibility alias ``django.template.loader.BaseLoader`` will be removed. * The ``dirs`` parameter for the following functions will be removed: * ``django.template.loader.get_template()`` * ``django.template.loader.select_template()`` * ``django.shortcuts.render()`` * ``django.shortcuts.render_to_response()`` .. _deprecation-removed-in-1.9: 1.9 Loading docs/releases/1.8.txt +5 −2 Original line number Diff line number Diff line Loading @@ -1058,14 +1058,17 @@ now optional. ``dirs`` argument of template-finding functions ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ The following functions no longer accept a ``dirs`` parameter to override :setting:`TEMPLATE_DIRS`: The following functions will no longer accept a ``dirs`` parameter to override :setting:`TEMPLATE_DIRS` in Django 2.0: * :func:`django.template.loader.get_template()` * :func:`django.template.loader.select_template()` * :func:`django.shortcuts.render()` * :func:`django.shortcuts.render_to_response()` The parameter didn't work consistently across different template loaders and didn't work for included templates. ``django.template.loader.BaseLoader`` ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Loading Loading
docs/internals/deprecation.txt +10 −3 Original line number Diff line number Diff line Loading @@ -88,6 +88,13 @@ details on these changes. * The backwards compatibility alias ``django.template.loader.BaseLoader`` will be removed. * The ``dirs`` parameter for the following functions will be removed: * ``django.template.loader.get_template()`` * ``django.template.loader.select_template()`` * ``django.shortcuts.render()`` * ``django.shortcuts.render_to_response()`` .. _deprecation-removed-in-1.9: 1.9 Loading
docs/releases/1.8.txt +5 −2 Original line number Diff line number Diff line Loading @@ -1058,14 +1058,17 @@ now optional. ``dirs`` argument of template-finding functions ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ The following functions no longer accept a ``dirs`` parameter to override :setting:`TEMPLATE_DIRS`: The following functions will no longer accept a ``dirs`` parameter to override :setting:`TEMPLATE_DIRS` in Django 2.0: * :func:`django.template.loader.get_template()` * :func:`django.template.loader.select_template()` * :func:`django.shortcuts.render()` * :func:`django.shortcuts.render_to_response()` The parameter didn't work consistently across different template loaders and didn't work for included templates. ``django.template.loader.BaseLoader`` ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Loading