SHARE
TWEET

Exercício 7: O schema de Palestra

luizfereira Aug 13th, 2015 11 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,)
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top