Thanks Anthony, i understand clearly now, getcourseids was indeed a Rows
object and it works now with just this line:
s = db(db.item.id.belongs([c.item_id for c in getcourseids])).select(db.item
.course_title)
Thanks a lot really!
On Wednesday, September 21, 2016 at 8:59:05 PM UTC+2, Anthony wr
thanks Dave, I think somthing like that is the best way.
--
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 subscri
On Tuesday, September 27, 2016 at 2:24:46 PM UTC-7, Alex Glaros wrote:
>
> In a social network, I keep who_has_blocked_me in session vars so that
> their people searches don't display people that have blocked me.
>
> However if the blocked person is logged on at same time that blocker
> person
it would be acceptable to force logout blocked user so they have to login
again.
I guess would have to make an exception for my session ;-)
--
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py (Source code)
- https://code.google.com/p/we
In a social network, I keep who_has_blocked_me in session vars so that
their people searches don't display people that have blocked me.
However if the blocked person is logged on at same time that blocker person
blocks them, the blocked person's session vars will not be current.
Is there a way
I want to add a button on a SQLFORM.grid to inactivate the row
2016-09-27 17:07 GMT-04:00 Dave S :
>
>
> On Tuesday, September 27, 2016 at 1:12:48 PM UTC-7, Yoel Baez wrote:
>>
>> i wont to add a lambda link to inactivate the row (is_active=False)
>>
>> Can someone help me please?
>>
>
> What are
On Tuesday, September 27, 2016 at 1:12:48 PM UTC-7, Yoel Baez wrote:
>
> i wont to add a lambda link to inactivate the row (is_active=False)
>
> Can someone help me please?
>
What are you trying to do? Is this link to appear in a form (like an edit
link in SQLFORM)? Is it to be a standalone l
i wont to add a lambda link to inactivate the row (is_active=False)
Can someone help me please?
--
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 recei
yep, ATM I'd go for rawconfigparser but someone asked for interpolation
so we have two distinct "paths" . Just need to rule out one ^_^
On Tuesday, September 27, 2016 at 6:56:10 PM UTC+2, Ivan wrote:
>
> escaping % with % solves the problem
> however I think it would be better to not force t
escaping % with % solves the problem
however I think it would be better to not force the user to escape each %
in a .ini file
the exception comes from the ConfigParser python module (more
precisely SafeConfigParser) used in AppConfig
maybe a better solution is to use RawConfigParser that doesn't
hum. did you try excaping the % with % , which means basically having %%
instead of % ?
On Tuesday, September 27, 2016 at 4:15:45 PM UTC+2, Ivan wrote:
>
> I don't want to interpolate.
> I have an option with a % inside and the AppConfig raises an exception.
>
--
Resources:
- http://web2py.com
I don't want to interpolate.
I have an option with a % inside and the AppConfig raises an exception.
--
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 r
and it's correct that it does, as it can work with json with doesn't have
any interpolation facilities. if you want to interpolate, for the moment,
use your app's code.
On Tuesday, September 27, 2016 at 3:43:24 PM UTC+2, Ivan wrote:
>
> If the .ini file contains an option with a % (eg a password
Are you talking about searching a list:reference field? If so, that
wouldn't be very useful, as the end user would have to know the record IDs
of the desired records. Instead, presumably you would want the ability to
search based on the record representation of each reference (or some other
fie
If the .ini file contains an option with a % (eg a password), the AppConfig
class raise an InterpolationSyntaxError exception.
--
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py (Source code)
- https://code.google.com/p/web2py/issues/list
Got it! Had to update the jquery version.It's working now.Thanks Anthony.
On Mon, Sep 26, 2016 at 4:43 PM, Anthony wrote:
> On Monday, September 26, 2016 at 1:53:38 AM UTC-4, @brooks wrote:
>>
>> Thanks Anthony.I corrected the two things you pointed out and then
>> checked for the errors in the
I am coming back to this topic for a second time since I couldn’t get an
answer last time and it would facilitate things a lot for me:
The SQLFORM.Grid has a very sophisticated filter system to make queries
over selected tables easy.
It seems, however, that it is actually not possible to q
17 matches
Mail list logo