Is there a way to set attributes of a field on model?

Like:
db.define_table('album',
    SQLField('name',"string",length=50,default=""),
    SQLField("thumbnail","upload",default="",autodelete=True,*
attr=dict(class='multi')*), <-----
    SQLField("description","text",default=""),
    SQLField("date","date",),
    SQLField("ativo","boolean")

anything like that?

Thanks!

Tito

-- 
Linux User #387870
.........____
.... _/_õ|__|
..º[ .-.___.-._| . . . .
.__( o)__( o).:_______

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"web2py Web Framework" group.
To post to this group, send email to web2py@googlegroups.com
To unsubscribe from this group, send email to 
web2py+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/web2py?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to