Here's the model:
class Noticia(SQLObject):

data=DateTimeCol(default=datetime.now(),notNone=True)##criação da
notícia
    autor=UnicodeCol(length=40,notNone=True)
    titulo=UnicodeCol(length=60,notNone=True)
    mensagem=UnicodeCol(notNone=True)

here's how i did in shell: Noticia(autor="Italo
Maia",titulo="Test",mensagem=u"áéíóú")
It should work shouldn't it?


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"TurboGears" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/turbogears
-~----------~----~----~----~------~----~------~--~---

Reply via email to