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

All Samples(12)  |  Call(10)  |  Derive(0)  |  Import(2)

src/c/o/collective.fourohfour-1.0a5/src/collective/fourohfour/browser.py   collective.fourohfour(Download)
logger = logging.getLogger('plone.app.redirector')
 
from collective.fourohfour import MessageFactory as _
from collective.fourohfour.interfaces import IFourOhFourSettings
from collective.fourohfour.interfaces import IBrowserLayer
class IBulkLoad(form.Schema):
 
    prependPathSource = schema.Bool(
            title=_(u"Prepend portal root path to the alias source"),
            description=_(u"Enable this if you are using path based virtual hosting with repoze.vhm#vhm_path "
 
    prependPathTarget = schema.Bool(
            title=_(u"Prepend portal root path to the alias target"),
            description=_(u"You almost certainly want to enable this."),
            default=True,

src/c/o/collective.fourohfour-1.0a5/src/collective/fourohfour/interfaces.py   collective.fourohfour(Download)
from plone.directives import form
 
from collective.fourohfour import MessageFactory as _
 
class IBrowserLayer(Interface):
 
    displaySuggestions = schema.Bool(
            title=_(u"Display suggestions"),
            description=_(u"Whether or not to display a list of suggested "
                           "pages when there are no exact redirect matches"),