Any other thoughts on how this could happen? I think I've seen it done 
before

On Tuesday, July 14, 2015 at 5:14:56 PM UTC-4, Dave S wrote:
>
>
>
> On Tuesday, July 14, 2015 at 11:29:00 AM UTC-7, Dave S wrote:
>>
>>
>>
>> On Tuesday, July 14, 2015 at 11:07:39 AM UTC-7, LoveWeb2py wrote:
>>>
>>> Hello,
>>>
>>> My goal is to represent the name instead of the field id here is my 
>>> model:
>>>
>>> db.define_table('vendors',
>>>         * Field('name','string'),*
>>>          Field('vendor_location','string'),
>>>          format='%(name)s', migrate=True)
>>>
>>
>>
>> I may be missing something, but it doesn't look like you have a 
>> "Field('name'')" for the format to work on.
>>
>
> Whoops, I did miss it.
>
>

-- 
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py (Source code)
- https://code.google.com/p/web2py/issues/list (Report Issues)
--- 
You received this message because you are subscribed to the Google Groups 
"web2py-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to web2py+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to