summaryrefslogtreecommitdiff
path: root/django/template/__init__.py
diff options
context:
space:
mode:
authorAymeric Augustin <aymeric.augustin@m4x.org>2015-01-03 22:50:20 +0100
committerAymeric Augustin <aymeric.augustin@m4x.org>2015-01-07 21:54:22 +0100
commit118592663dcb761fb269ead3ab8a4977bc2cd3a6 (patch)
treedd2b8713434c8d96694c7e182cd7345a212bdee3 /django/template/__init__.py
parentf7c287fca9c9e6370cc88d1457d3ed9466703687 (diff)
Exposed Engine in the django.template namespace.
It's the main entrypoint to the refactored template system.
Diffstat (limited to 'django/template/__init__.py')
-rw-r--r--django/template/__init__.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/django/template/__init__.py b/django/template/__init__.py
index 510b293e79..045ec72529 100644
--- a/django/template/__init__.py
+++ b/django/template/__init__.py
@@ -41,12 +41,14 @@ Shared:
### Multiple Template Engines
+from .engine import Engine
+
from .utils import EngineHandler
engines = EngineHandler()
-__all__ = ('engines',)
+__all__ = ('Engine', 'engines')
### Django Template Language