404

[ Avaa Bypassed ]




Upload:

Command:

elspacio@3.147.76.250: ~ $
# -*- coding: utf-8 -*-
"""
    jinja2.defaults
    ~~~~~~~~~~~~~~~

    Jinja default filters and tags.

    :copyright: (c) 2017 by the Jinja Team.
    :license: BSD, see LICENSE for more details.
"""
from jinja2._compat import range_type
from jinja2.utils import generate_lorem_ipsum, Cycler, Joiner, Namespace


# defaults for the parser / lexer
BLOCK_START_STRING = '{%'
BLOCK_END_STRING = '%}'
VARIABLE_START_STRING = '{{'
VARIABLE_END_STRING = '}}'
COMMENT_START_STRING = '{#'
COMMENT_END_STRING = '#}'
LINE_STATEMENT_PREFIX = None
LINE_COMMENT_PREFIX = None
TRIM_BLOCKS = False
LSTRIP_BLOCKS = False
NEWLINE_SEQUENCE = '\n'
KEEP_TRAILING_NEWLINE = False


# default filters, tests and namespace
from jinja2.filters import FILTERS as DEFAULT_FILTERS
from jinja2.tests import TESTS as DEFAULT_TESTS
DEFAULT_NAMESPACE = {
    'range':        range_type,
    'dict':         dict,
    'lipsum':       generate_lorem_ipsum,
    'cycler':       Cycler,
    'joiner':       Joiner,
    'namespace':    Namespace
}


# default policies
DEFAULT_POLICIES = {
    'compiler.ascii_str':   True,
    'urlize.rel':           'noopener',
    'urlize.target':        None,
    'truncate.leeway':      5,
    'json.dumps_function':  None,
    'json.dumps_kwargs':    {'sort_keys': True},
    'ext.i18n.trimmed':     False,
}


# export all constants
__all__ = tuple(x for x in locals().keys() if x.isupper())

Filemanager

Name Type Size Permission Actions
__pycache__ Folder 0755
__init__.py File 2.55 KB 0644
_compat.py File 2.54 KB 0644
_identifier.py File 1.69 KB 0644
asyncfilters.py File 4.05 KB 0644
asyncsupport.py File 7.69 KB 0644
bccache.py File 12.49 KB 0644
compiler.py File 63.85 KB 0644
constants.py File 1.59 KB 0644
debug.py File 11.76 KB 0644
defaults.py File 1.37 KB 0644
environment.py File 49.66 KB 0644
exceptions.py File 4.32 KB 0644
ext.py File 23.93 KB 0644
filters.py File 36.36 KB 0644
idtracking.py File 8.98 KB 0644
lexer.py File 27.89 KB 0644
loaders.py File 16.97 KB 0644
meta.py File 4.24 KB 0644
nativetypes.py File 7.14 KB 0644
nodes.py File 30.13 KB 0644
optimizer.py File 1.68 KB 0644
parser.py File 35.03 KB 0644
runtime.py File 27.1 KB 0644
sandbox.py File 16.71 KB 0644
tests.py File 4.14 KB 0644
utils.py File 20.29 KB 0644
visitor.py File 3.24 KB 0644