Did I find the right examples for you? yes no

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

src/c/o/ConfigAdministrator-0.1a1.dev-r2011/config_admin/widgets.py   ConfigAdministrator(Download)
    def get(self, option, default=Default):
        try:
            cp = ConfigOption.selectBy(name=option, panel=self.name)[0]
        except IndexError:
            cp = None
    def display(self, **kw):
        values = dict()
        for co in ConfigOption.selectBy(panel=self.name):
            values[co.name] = co.value
        return self.form.display(value=values, **kw)