web/controller.py
branchtls-sprint
changeset 742 99115e029dca
parent 722 50a99184cf47
child 757 01740274e774
equal deleted inserted replaced
739:39721e56b56d 742:99115e029dca
    66     a request. There is usually at least one standard "view" controller
    66     a request. There is usually at least one standard "view" controller
    67     and another linked by forms to edit objects ("edit").
    67     and another linked by forms to edit objects ("edit").
    68     """
    68     """
    69     __registry__ = 'controllers'
    69     __registry__ = 'controllers'
    70     __registerer__ = priority_registerer
    70     __registerer__ = priority_registerer
    71     __selectors__ = (yes,)
    71     __select__ = yes()
    72     registered = require_group_compat(AppObject.registered.im_func)
    72     registered = require_group_compat(AppObject.registered.im_func)
    73 
    73 
    74     def __init__(self, *args, **kwargs):
    74     def __init__(self, *args, **kwargs):
    75         super(Controller, self).__init__(*args, **kwargs)
    75         super(Controller, self).__init__(*args, **kwargs)
    76         # attributes use to control after edition redirection
    76         # attributes use to control after edition redirection