Hi folks,
My question is very simple, making me so ashamed...
I intend to use non ascii caracters in a model field description, so
how do I use a verbose name in the model table?
Kind of:
SQLField('descricao', string, verbose='descição') # ---> maybe not
correct!!
By the way, how do I insert several option in a model field, as Django
folks do with lists using the attribute 'choices', like this
model.StringField('vendedor', choices=['A', 'B', 'C', ...]) resulting
in a drop list menu in the forms.
can anybody help me??
thank you
Carlos Aboim
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"web2py-users" 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/web2py?hl=en
-~----------~----~----~----~------~----~------~--~---