Did I find the right examples for you? yes no

All Samples(28)  |  Call(0)  |  Derive(24)  |  Import(4)

src/m/o/morepath-0.2/morepath/__init__.py   morepath(Download)
from .view import render_json, render_html
from .request import Request, Response
from .config import Config, Directive
from .view import redirect
from morepath.autosetup import autoconfig, autosetup

src/m/o/morepath-0.2/morepath/directive.py   morepath(Download)
from .app import AppBase
from .config import Directive
from .settings import SettingSection
from .error import ConfigError
from .view import (register_view, render_json, render_html,
class SettingDirective(Directive):
    def __init__(self, app, section, name):
        """Register application setting.
 
        An application setting is registered under the ``settings``
class SettingSectionDirective(Directive):
    def __init__(self, app, section):
        """Register application setting in a section.
 
        An application settings are registered under the ``settings``
class ConverterDirective(Directive):
    depends = [SettingDirective]
 
    def __init__(self, app, type):
        """Register custom converter for type.
class PathDirective(Directive):
    depends = [SettingDirective, ConverterDirective]
 
    def __init__(self, app, path, model=None,
                 variables=None, converters=None, required=None,

src/m/o/morepath-HEAD/morepath/__init__.py   morepath(Download)
from .view import render_json, render_html
from .request import Request, Response
from .config import Config, Directive
from .view import redirect
from morepath.autosetup import autoconfig, autosetup

src/m/o/morepath-HEAD/morepath/directive.py   morepath(Download)
from .app import AppBase
from .config import Directive
from .settings import SettingSection
from .error import ConfigError
from .view import (register_view, render_json, render_html,
class SettingDirective(Directive):
    def __init__(self, app, section, name):
        """Register application setting.
 
        An application setting is registered under the ``settings``
class SettingSectionDirective(Directive):
    def __init__(self, app, section):
        """Register application setting in a section.
 
        An application settings are registered under the ``settings``
class ConverterDirective(Directive):
    depends = [SettingDirective]
 
    def __init__(self, app, type):
        """Register custom converter for type.
class PathDirective(Directive):
    depends = [SettingDirective, ConverterDirective]
 
    def __init__(self, app, path, model=None,
                 variables=None, converters=None, required=None,