On Friday, April 1, 2016 at 8:12:55 PM UTC-7, lucas wrote:
>
> "If that import fails in the web2py environment, you may have bigger
> problems than instantiating a Row. ;-)"
>
> what do you mean by that? lucas
>
It is likely to mean your environment is messed up, because gluon is pretty
centr
"If that import fails in the web2py environment, you may have bigger
problems than instantiating a Row. ;-)"
what do you mean by that? lucas
--
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py (Source code)
- https://code.google.com/p/
On Friday, April 1, 2016 at 2:23:25 PM UTC-7, lucas wrote:
>
> i think i figured it out. should be:
>
> try:
> from dal import Row
> have_row = True
> except:
> have_row = False
>
>
If that import fails in the web2py environment, you may have bigger
problems than instantiating a Row.
On Friday, April 1, 2016 at 2:40:28 PM UTC-7, Dave S wrote:
>
>
>
> On Friday, April 1, 2016 at 2:23:25 PM UTC-7, lucas wrote:
>>
>> i think i figured it out. should be:
>>
>> from dal import Row
>> ...
>>
>> row = Row()
>>
>> i know basic, but sometimes it is hard what modules to import when
>
On Friday, April 1, 2016 at 2:23:25 PM UTC-7, lucas wrote:
>
> i think i figured it out. should be:
>
> from dal import Row
> ...
>
> row = Row()
>
> i know basic, but sometimes it is hard what modules to import when reading
> the API docs. lucas
>
I think it is
>>> from pydal.objects impor
i think i figured it out. should be:
from dal import Row
...
row = Row()
i know basic, but sometimes it is hard what modules to import when reading
the API docs. lucas
--
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py (Source code)
ok, so how do i instantiate a Row() object. please include the proper
import syntax. thanx lucas
--
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 re
BTW: a single Row full of None(s) is really just a Storage with field names
as keys and None as values.
On Friday, April 1, 2016 at 10:05:55 PM UTC+2, Dave S wrote:
>
> On Friday, April 1, 2016 at 12:46:24 PM UTC-7, lucas wrote:
>>
>> hello one and all,
>>
>> i have to create a mock or dummy row
On Friday, April 1, 2016 at 12:46:24 PM UTC-7, lucas wrote:
>
> hello one and all,
>
> i have to create a mock or dummy row from a table. so i want all of the
> field name without values or None values. then i want to fill in a few of
> the values and then pass it to a rather complex function f
9 matches
Mail list logo