Пример #1
0
    def setUp(self):
        super(GetCurrentLanguageJsLangNameTest, self).setUp()

        from django.template.utils import EngineHandler
        self.engines = EngineHandler()
Пример #2
0
    def setUp(self):
        super(HasPermissionTemplateFilterTest, self).setUp()

        from django.template.utils import EngineHandler
        self.engines = EngineHandler()
Пример #3
0
from __future__ import absolute_import

from django.template.utils import EngineHandler
from .settings import TEMPLATES

engines = EngineHandler(templates=TEMPLATES)