Did I find the right examples for you? yes no      Crawl my project      Python Jobs

All Samples(4)  |  Call(2)  |  Derive(0)  |  Import(2)

src/p/y/pyramid_frontend-0.2/pyramid_frontend/theme.py   pyramid_frontend(Download)
from pyramid.path import DottedNameResolver
 
from .templating.lookup import SuperTemplateLookup
from .templating.renderer import (mako_renderer_factory,
                                  mako_renderer_factory_nofilters)
                                                      self.key)
 
        return SuperTemplateLookup(directories=self.template_dirs,
                                   input_encoding='utf-8',
                                   output_encoding='utf-8',

src/p/y/pyramid_frontend-0.2/pyramid_frontend/tests/test_templating.py   pyramid_frontend(Download)
from mako.exceptions import TopLevelLookupException
 
from ..templating.lookup import SuperTemplateLookup
 
from .example import base, foo
    def test_filesystem_checks(self):
        theme = foo.FooTheme(self.settings)
        dirs = theme.lookup.directories
        lookup = SuperTemplateLookup(directories=dirs,
                                     filesystem_checks=True)