diff options
| author | Tim Graham <timograham@gmail.com> | 2015-09-26 13:38:04 -0400 |
|---|---|---|
| committer | Tim Graham <timograham@gmail.com> | 2015-09-29 18:31:11 -0400 |
| commit | 8d1a001ef6dcbbe8053da05cdb3ec99965b0953f (patch) | |
| tree | 707290d6af039eb825af8e93b3aa19df88d4e43e /django/template/__init__.py | |
| parent | ae9f9dc37f39afeaa45c646cf6eef81beffcf021 (diff) | |
Fixed #25466 -- Added backwards compatibility aliases for LoaderOrigin and StringOrigin.
Thanks Simon Charette for the DeprecationInstanceCheck class.
Diffstat (limited to 'django/template/__init__.py')
| -rw-r--r-- | django/template/__init__.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/django/template/__init__.py b/django/template/__init__.py index b55b4491c6..9cf25754f8 100644 --- a/django/template/__init__.py +++ b/django/template/__init__.py @@ -58,7 +58,8 @@ from .exceptions import TemplateDoesNotExist, TemplateSyntaxError # NOQA i # Template parts from .base import ( # NOQA isort:skip - Context, Node, NodeList, Origin, RequestContext, Template, Variable, + Context, Node, NodeList, Origin, RequestContext, StringOrigin, Template, + Variable, ) # Library management |
