Did I find the right examples for you? yes no

All Samples(9)  |  Call(6)  |  Derive(0)  |  Import(3)

src/t/g/tgext.crud-0.7.2/tgext/crud/controller.py   tgext.crud(Download)
from tg.controllers import RestController
 
from tgext.crud.decorators import (registered_validate, register_validators, catch_errors,
                                   optional_paginate)
from tgext.crud.utils import (SmartPaginationCollection, RequestLocalTableFiller, create_setter,
        if hasattr(self, 'new_form'):
            #register the validators since they are none from the parent class
            register_validators(self, 'post', self.new_form)
        if hasattr(self, 'edit_form'):
            register_validators(self, 'put', self.edit_form)

src/t/g/tgext.crud-HEAD/tgext/crud/controller.py   tgext.crud(Download)
from tg.controllers import RestController
 
from tgext.crud.decorators import (registered_validate, register_validators, catch_errors,
                                   optional_paginate)
from tgext.crud.utils import (SmartPaginationCollection, RequestLocalTableFiller, create_setter,
        if hasattr(self, 'new_form'):
            #register the validators since they are none from the parent class
            register_validators(self, 'post', self.new_form)
        if hasattr(self, 'edit_form'):
            register_validators(self, 'put', self.edit_form)

src/p/y/pyf.services-2.0.2/pyf/services/controllers/crud.py   pyf.services(Download)
from pyf.services.versionning import get_repository
 
from tgext.crud.decorators import registered_validate, register_validators
from sprox.fillerbase import TableFiller
from genshi.template import MarkupTemplate
        if hasattr(self, 'new_form'):
            #register the validators since they are none from the parent class
            register_validators(self, 'post', self.new_form)
        if hasattr(self, 'edit_form'):
            register_validators(self, 'put', self.edit_form)