Did I find the right examples for you? yes no

All Samples(1160)  |  Call(717)  |  Derive(0)  |  Import(443)
Raised if a template does not exist.

src/w/e/webapp2_example-HEAD/lib/jinja2/loaders.py   webapp2_example(Download)
except ImportError:
    from sha import new as sha1
from jinja2.exceptions import TemplateNotFound
from jinja2.utils import LRUCache, open_if_exists, internalcode
 
           or (path.altsep and path.altsep in piece) or \
           piece == path.pardir:
            raise TemplateNotFound(template)
        elif piece and piece != '.':
            pieces.append(piece)
            raise RuntimeError('%s cannot provide access to the source' %
                               self.__class__.__name__)
        raise TemplateNotFound(template)
 
    def list_templates(self):
                    return False
            return contents, filename, uptodate
        raise TemplateNotFound(template)
 
    def list_templates(self):
    def get_source(self, environment, template):
        pieces = split_template_path(template)
        p = '/'.join((self.package_path,) + tuple(pieces))
        if not self.provider.has_resource(p):
            raise TemplateNotFound(template)

src/g/a/gae-twitter-oauth-example-HEAD/jinja2/loaders.py   gae-twitter-oauth-example(Download)
except ImportError:
    from sha import new as sha1
from jinja2.exceptions import TemplateNotFound
from jinja2.utils import LRUCache, open_if_exists, internalcode
 
           or (path.altsep and path.altsep in piece) or \
           piece == path.pardir:
            raise TemplateNotFound(template)
        elif piece and piece != '.':
            pieces.append(piece)
            raise RuntimeError('%s cannot provide access to the source' %
                               self.__class__.__name__)
        raise TemplateNotFound(template)
 
    def list_templates(self):
                    return False
            return contents, filename, uptodate
        raise TemplateNotFound(template)
 
    def list_templates(self):
    def get_source(self, environment, template):
        pieces = split_template_path(template)
        p = '/'.join((self.package_path,) + tuple(pieces))
        if not self.provider.has_resource(p):
            raise TemplateNotFound(template)

src/w/e/webapp2_example-HEAD/lib/jinja2/__init__.py   webapp2_example(Download)
 
# exceptions
from jinja2.exceptions import TemplateError, UndefinedError, \
     TemplateNotFound, TemplatesNotFound, TemplateSyntaxError, \
     TemplateAssertionError

src/g/a/gae-twitter-oauth-example-HEAD/jinja2/__init__.py   gae-twitter-oauth-example(Download)
 
# exceptions
from jinja2.exceptions import TemplateError, UndefinedError, \
     TemplateNotFound, TemplatesNotFound, TemplateSyntaxError, \
     TemplateAssertionError

src/w/e/webapp2_example-HEAD/lib/jinja2/environment.py   webapp2_example(Download)
from jinja2.compiler import generate
from jinja2.runtime import Undefined, new_context
from jinja2.exceptions import TemplateSyntaxError, TemplateNotFound, \
     TemplatesNotFound
from jinja2.utils import import_string, LRUCache, Markup, missing, \

src/w/e/webapp2_example-HEAD/lib/jinja2/runtime.py   webapp2_example(Download)
from jinja2.utils import Markup, partial, soft_unicode, escape, missing, \
     concat, internalcode, next, object_type_repr
from jinja2.exceptions import UndefinedError, TemplateRuntimeError, \
     TemplateNotFound
 

src/g/a/gae-twitter-oauth-example-HEAD/jinja2/environment.py   gae-twitter-oauth-example(Download)
from jinja2.compiler import generate
from jinja2.runtime import Undefined, new_context
from jinja2.exceptions import TemplateSyntaxError, TemplateNotFound, \
     TemplatesNotFound
from jinja2.utils import import_string, LRUCache, Markup, missing, \

src/g/a/gae-twitter-oauth-example-HEAD/jinja2/runtime.py   gae-twitter-oauth-example(Download)
     concat, MethodType, FunctionType, internalcode, next, \
     object_type_repr
from jinja2.exceptions import UndefinedError, TemplateRuntimeError, \
     TemplateNotFound
 

src/w/e/webapp2_example-HEAD/lib/jinja2/testsuite/imports.py   webapp2_example(Download)
 
from jinja2 import Environment, DictLoader
from jinja2.exceptions import TemplateNotFound, TemplatesNotFound
 
 

src/w/e/webapp2_example-HEAD/lib/jinja2/testsuite/loader.py   webapp2_example(Download)
from jinja2 import Environment, loaders
from jinja2.loaders import split_template_path
from jinja2.exceptions import TemplateNotFound
 
 

  1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9  Next