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

All Samples(4)  |  Call(0)  |  Derive(2)  |  Import(2)

src/f/t/ftw.contentpage-1.6.5/ftw/contentpage/browser/newslisting.py   ftw.contentpage(Download)
from ftw.contentpage.browser.baselisting import BaseListing
from ftw.contentpage.interfaces import INewsListingView
from Products.CMFCore.utils import getToolByName
from Products.Five.browser.pagetemplatefile import ViewPageTemplateFile
from zope.interface import implements
from ftw.contentpage import _
 
 
class NewsListing(BaseListing):

src/f/t/ftw.contentpage-1.6.5/ftw/contentpage/browser/eventlisting.py   ftw.contentpage(Download)
from ftw.contentpage.browser.baselisting import BaseListing
from ftw.contentpage.interfaces import IEventListingView
from Products.ATContentTypes.utils import DT2dt
from Products.Five.browser.pagetemplatefile import ViewPageTemplateFile
from zope.interface import implements
class EventListing(BaseListing):
    implements(IEventListingView)
 
    template = ViewPageTemplateFile("eventlisting.pt")