web/form.py
changeset 2656 a93ae0f6c0ad
parent 2005 e8032965f37a
child 2798 9c650701cb17
child 2996 866a2c135c33
equal deleted inserted replaced
2655:48cd71bdb5cd 2656:a93ae0f6c0ad
     5 :contact: http://www.logilab.fr/ -- mailto:contact@logilab.fr
     5 :contact: http://www.logilab.fr/ -- mailto:contact@logilab.fr
     6 :license: GNU Lesser General Public License, v2.1 - http://www.gnu.org/licenses
     6 :license: GNU Lesser General Public License, v2.1 - http://www.gnu.org/licenses
     7 """
     7 """
     8 __docformat__ = "restructuredtext en"
     8 __docformat__ = "restructuredtext en"
     9 
     9 
    10 from cubicweb.appobject import AppRsetObject
    10 from cubicweb.appobject import AppObject
    11 from cubicweb.view import NOINDEX, NOFOLLOW
    11 from cubicweb.view import NOINDEX, NOFOLLOW
    12 from cubicweb.common import tags
    12 from cubicweb.common import tags
    13 from cubicweb.web import stdmsgs, httpcache, formfields
    13 from cubicweb.web import stdmsgs, httpcache, formfields
    14 
    14 
    15 
    15 
   200 class FieldNotFound(Exception):
   200 class FieldNotFound(Exception):
   201     """raised by field_by_name when a field with the given name has not been
   201     """raised by field_by_name when a field with the given name has not been
   202     found
   202     found
   203     """
   203     """
   204 
   204 
   205 class Form(FormMixIn, AppRsetObject):
   205 class Form(FormMixIn, AppObject):
   206     __metaclass__ = metafieldsform
   206     __metaclass__ = metafieldsform
   207     __registry__ = 'forms'
   207     __registry__ = 'forms'