, 2014 4:23:41 AM UTC+2, Omri Levy wrote:
Hi ,
I have created a class (that i put in models folder), and all it methods
returns complicated dictionaries.
When I try to access these variables like Storage (foo.bar) I get the
following exception: 'dict' object has no attribute
I thought
Hi ,
I have created a class (that i put in models folder), and all it methods
returns complicated dictionaries.
When I try to access these variables like Storage (foo.bar) I get the
following exception: 'dict' object has no attribute
I thought that all dictionaries are being converted
Hi ,
I asked Wing support the following question:
I am using Web2py framework. I saw a video that says the Wing can
debug a running python code no matter if it launched it itself. When
reading this: http://wingware.com/doc/howtos/web2py
I see that I can only debug Web2py in a way that I need
Thank you! :)
On Thursday, June 26, 2014 12:25:00 AM UTC+3, 黄祥 wrote:
afaik, compute didn't work on update. for onupdate, is execute on form
level not on dal, please take a look at book chapter about that.
ref:
http://web2py.com/books/default/chapter/29/07/forms-and-validators
best
Yes. I have read ALL the DAL section from the manual and I think you are
right.
I just wonder if I could use the 'compute' or 'filter in' function as well.
I never heard of form 'on update'. Is it web2py feature?
Thanks! :)
On Wednesday, June 25, 2014 9:58:41 AM UTC+3, 黄祥 wrote:
i think you
Hi,
Is there a way to call a method when certain field is updated?
The intention is *not* to change the value of the field/represent it
otherwise, but it has general purpose.
Thanks!
Omri.
--
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
-
/master.zip
Unzip it and copy web2py over the old one.
On Thursday, 19 June 2014 17:28:41 UTC-5, Omri Levy wrote:
Hi Massimo,
Thanks , I experience this bug a lot, I think it's when I update list of
references to the same table in the db.
Can you please explain how to update? (do I need
the $.web2py.component() Javascript function. Something like:
input type=button value=Edit onclick=$.web2py.component('{{=URL('
default', 'edit_page.load')}}', 'edit-form');
div id=edit-form/div
Anthony
On Friday, June 13, 2014 7:47:34 PM UTC-4, Omri Levy wrote:
Hi ,
So I have a ticket system, and I
type 'exceptions.TypeError' sequence item 0: expected string, long found
Versionweb2py™Version 2.9.5-stable+timestamp.2014.03.16.02.35.39PythonPython
2.7.6: C:\Python27\python.exe (prefix: C:\Python27)Traceback
1.
2.
3.
4.
5.
6.
7.
8.
9.
10.
11.
12.
13.
Traceback (most recent call last):
:
think it is a bug. pushing a new version that should fix that. Check trunk
in 5 minutes.
On Monday, 16 June 2014 09:17:01 UTC-5, Omri Levy wrote:
type 'exceptions.TypeError' sequence item 0: expected string, long found
Versionweb2py™Version 2.9.5-stable+timestamp.2014.03.16.02.35.39PythonPython
Hi ,
So I have a ticket system, and I want to allow user to edit the ticket
without leaving the page.
I don't want to LOAD the edit_page and hide it, but only load it once user
is clicking on the ticket body.
Another thing is, when user edits the ticket, he should again see changes
on the same
When using SQLFORM, is it possible to check for certain input and change it
before it is being stored in db?
--
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)
Hi ,
So the situation is this:
I have table for posts - Only the user posted a message may see it
and then table for shared_posts - The user created a post may enter
user_ids here, and those users may also see the post
I don't want to add record for each share, so shared posts is defined
like
13 matches
Mail list logo