goa/skel/schema.py
changeset 1977 606923dff11b
parent 0 b97547f5f1fa
child 2459 d088d0ff48a1
equal deleted inserted replaced
1976:851e08142873 1977:606923dff11b
       
     1 """
       
     2 
       
     3 :organization: Logilab
       
     4 :copyright: 2001-2009 LOGILAB S.A. (Paris, FRANCE), license is LGPL v2.
       
     5 :contact: http://www.logilab.fr/ -- mailto:contact@logilab.fr
       
     6 :license: GNU Lesser General Public License, v2.1 - http://www.gnu.org/licenses
       
     7 """
     1 from cubicweb.schema import format_constraint
     8 from cubicweb.schema import format_constraint
     2 
     9 
     3 class Blog(EntityType):
    10 class Blog(EntityType):
     4     title = String(maxsize=50, required=True)
    11     title = String(maxsize=50, required=True)
     5     description = String()
    12     description = String()