ah OK, that makes sense.

On Thu, Aug 28, 2014 at 2:42 PM, Anthony <abasta...@gmail.com> wrote:
> In this case, the leading underscore is more to ensure the format attribute
> doesn't clash with any possible field names (which are also accessed as
> attributes of the table object).
>
> Anthony
>
>
> On Thursday, August 28, 2014 8:31:22 AM UTC-4, Richard Penman wrote:
>>
>> I ask because typically a leading underscore would indicate a private
>> method.
>>
>> On Aug 28, 2014 2:21 PM, "Anthony" <abasta...@gmail.com> wrote:
>>>
>>> That's it.
>>>
>>> On Thursday, August 28, 2014 3:59:48 AM UTC-4, Richard Penman wrote:
>>>>
>>>> Hello,
>>>> my database table defines 'format' - what is the proper way to use this
>>>> in a view?
>>>> Currently I have been using what I found in internals of SQLFORM:
>>>> db.tablename._format(record)
>>>> Richard
>>>
>>> --
>>> 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 a topic in the
>>> Google Groups "web2py-users" group.
>>> To unsubscribe from this topic, visit
>>> https://groups.google.com/d/topic/web2py/XX3s-FBTVk4/unsubscribe.
>>> To unsubscribe from this group and all its topics, send an email to
>>> web2py+unsubscr...@googlegroups.com.
>>> For more options, visit https://groups.google.com/d/optout.
>
> --
> 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 a topic in the
> Google Groups "web2py-users" group.
> To unsubscribe from this topic, visit
> https://groups.google.com/d/topic/web2py/XX3s-FBTVk4/unsubscribe.
> To unsubscribe from this group and all its topics, send an email to
> web2py+unsubscr...@googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.

-- 
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