Advertisement
luizfereira

Exercício 7: O schema de Palestra

Aug 13th, 2015
45
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. ## coding=utf-8
  2.  
  3. ### varios imports ###
  4.  
  5. from plone.supermodel import model
  6.  
  7. class IPalestra(model.Schema):
  8.     """
  9.    Uma palestra dentro de um Programa
  10.    """
  11.  
  12.     title = schema.TextLine(title=_(u"Nome da palestra"),)
  13.  
  14.     description = schema.Text(title=_(u"Sumário da palestra"),)
  15.  
  16.     details = RichText(title=_(u"Detalhes"), description=_(u"Detalhes sobre a palestra"), required=False,)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement