diff options
Diffstat (limited to 'django/template/__init__.py')
| -rw-r--r-- | django/template/__init__.py | 14 |
1 files changed, 13 insertions, 1 deletions
diff --git a/django/template/__init__.py b/django/template/__init__.py index 24a51ac20d..31f3078bad 100644 --- a/django/template/__init__.py +++ b/django/template/__init__.py @@ -1,3 +1,15 @@ +### Multiple Template Engines + +from .utils import EngineHandler + + +engines = EngineHandler() + +__all__ = ('engines',) + + +### Django Template Language + # Public exceptions from .base import (TemplateDoesNotExist, TemplateSyntaxError, # NOQA VariableDoesNotExist) @@ -14,4 +26,4 @@ from .base import resolve_variable # NOQA from .base import Library # NOQA -__all__ = ('Template', 'Context', 'RequestContext') +__all__ += ('Template', 'Context', 'RequestContext') |
