Did I find the right examples for you? yes no

All Samples(14)  |  Call(5)  |  Derive(0)  |  Import(9)
L{MissingTemplateLoader} is raised when trying to render an Element without
a template loader, i.e. a C{loader} attribute.

@ivar element: The Element which did not have a document factory.

src/o/h/oh-mainline-HEAD/vendor/packages/twisted/twisted/web/_element.py   oh-mainline(Download)
 
from twisted.web.error import MissingRenderMethod, UnexposedMethodError
from twisted.web.error import MissingTemplateLoader
 
class Expose(object):
        loader = self.loader
        if loader is None:
            raise MissingTemplateLoader(self)
        return loader.load()
 

src/s/u/SubliminalCollaborator-HEAD/libs/twisted/web/_element.py   SubliminalCollaborator(Download)
 
from twisted.web.error import MissingRenderMethod, UnexposedMethodError
from twisted.web.error import MissingTemplateLoader
 
 
        loader = self.loader
        if loader is None:
            raise MissingTemplateLoader(self)
        return loader.load()
 

src/u/n/UnitScan-HEAD/twisted/web/_element.py   UnitScan(Download)
 
from twisted.web.error import MissingRenderMethod, UnexposedMethodError
from twisted.web.error import MissingTemplateLoader
 
 
        loader = self.loader
        if loader is None:
            raise MissingTemplateLoader(self)
        return loader.load()
 

src/t/w/Twisted-13.2.0/twisted/web/_element.py   Twisted(Download)
 
from twisted.web.error import MissingRenderMethod, UnexposedMethodError
from twisted.web.error import MissingTemplateLoader
 
 
        loader = self.loader
        if loader is None:
            raise MissingTemplateLoader(self)
        return loader.load()
 

src/t/o/Tor2web-3.0-HEAD/tor2web/utils/templating.py   Tor2web-3.0(Download)
 
from twisted.web.template import Element, renderer, tags
from twisted.web.error import MissingTemplateLoader
 
class PageTemplate(Element):
    def render(self, request):
        loader = self.loader
        if loader is None:
            raise MissingTemplateLoader(self)
        return loader.load()

src/u/n/UnitScan-HEAD/twisted/web/test/test_template.py   UnitScan(Download)
from twisted.web.iweb import ITemplateLoader
 
from twisted.web.error import MissingTemplateLoader, MissingRenderMethod
 
from twisted.web._element import UnexposedMethodError

src/o/h/oh-mainline-HEAD/vendor/packages/twisted/twisted/web/test/test_template.py   oh-mainline(Download)
    Element, renderer, XMLFile, XMLString)
 
from twisted.web.error import MissingTemplateLoader, MissingRenderMethod
 
from twisted.web._element import UnexposedMethodError

src/s/u/SubliminalCollaborator-HEAD/libs/twisted/web/test/test_template.py   SubliminalCollaborator(Download)
from twisted.web.iweb import ITemplateLoader
 
from twisted.web.error import (FlattenerError, MissingTemplateLoader,
    MissingRenderMethod)
 

src/t/w/Twisted-13.2.0/twisted/web/test/test_template.py   Twisted(Download)
from twisted.web.iweb import ITemplateLoader
 
from twisted.web.error import (FlattenerError, MissingTemplateLoader,
    MissingRenderMethod)