[web2py] Re: Insert into reference:list not working - FOREIGN KEY constraint failed field:upload

2017-10-02 Thread LoveWeb2py
Still receiving same error... This is my html code: I'm taking values from jstree and then putting them into a database (trying to at least) $("#btn").click(function () { var checked = $('#tree').jstree(true).get_selected(); var testid = $('#test_id').val(); c

[web2py] Re: Future releases and support

2017-10-02 Thread 黄祥
trying web2py starter on michael beller github, it's cool is it going to embed in next web2py version? as an alternative scaffolding apps maybe. another things is i think the MENU() and auth.navbar() is implicit that makes hard for developer to modify it, just a suggestion why not make MENU and

[web2py] Re: Insert into reference:list not working - FOREIGN KEY constraint failed field:upload

2017-10-02 Thread LoveWeb2py
Okay, just delete the table and then set migrate=True ? On Monday, October 2, 2017 at 8:46:21 PM UTC-4, Anthony wrote: > > On Monday, October 2, 2017 at 7:57:19 PM UTC-4, LoveWeb2py wrote: >> >> Yes... I believe so. >> >> On Monday, October 2, 2017 at 7:53:13 PM UTC-4, Anthony wrote: >>> >>> Was

[web2py] Re: Insert into reference:list not working - FOREIGN KEY constraint failed field:upload

2017-10-02 Thread Anthony
On Monday, October 2, 2017 at 7:57:19 PM UTC-4, LoveWeb2py wrote: > > Yes... I believe so. > > On Monday, October 2, 2017 at 7:53:13 PM UTC-4, Anthony wrote: >> >> Was that field originally a regular reference field and then you changed >> it to a list:reference field? >> > I think that's the prob

[web2py] Re: syntax error in list join-to-db?

2017-10-02 Thread Alex Glaros
you're right, thanks Anthony (should have named it myQuery) myQuery = db.auth_user.id.belongs(session.myConnectionsSet) -- Resources: - http://web2py.com - http://web2py.com/book (Documentation) - http://github.com/web2py/web2py (Source code) - https://code.google.com/p/web2py/issues/list (

[web2py] Re: Insert into reference:list not working - FOREIGN KEY constraint failed field:upload

2017-10-02 Thread LoveWeb2py
Yes... I believe so. On Monday, October 2, 2017 at 7:53:13 PM UTC-4, Anthony wrote: > > Was that field originally a regular reference field and then you changed > it to a list:reference field? > > On Monday, October 2, 2017 at 3:45:38 PM UTC-4, LoveWeb2py wrote: >> >> Anyone have feedback? I have

[web2py] Re: Insert into reference:list not working - FOREIGN KEY constraint failed field:upload

2017-10-02 Thread Anthony
Was that field originally a regular reference field and then you changed it to a list:reference field? On Monday, October 2, 2017 at 3:45:38 PM UTC-4, LoveWeb2py wrote: > > Anyone have feedback? I have been banging my head against this all day... > > On Sunday, October 1, 2017 at 4:52:39 PM UTC-4

[web2py] Teste Softwares

2017-10-02 Thread Gelzieny rezende martins
Como fazer teste Softwares com web2py -- 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 G

[web2py] Re: syntax error in list join-to-db?

2017-10-02 Thread Anthony
It is already a list, so don't put it inside another list. Should be: mySet = db.auth_user.id.belongs(session.myConnectionsList) Anthony On Monday, October 2, 2017 at 6:40:10 PM UTC-4, Alex Glaros wrote: > > abbreviated display of creating list: > > session.myConnectionsList = [] > for r

[web2py] Re: syntax error in list join-to-db?

2017-10-02 Thread Alex Glaros
oops, used this to create query: mySet = db(db.auth_user.id.belongs([session.myConnectionsSet]))._select() same error result -- Resources: - http://web2py.com - http://web2py.com/book (Documentation) - http://github.com/web2py/web2py (Source code) - https://code.google.com/p/web2py/issues/

[web2py] syntax error in list join-to-db?

2017-10-02 Thread Alex Glaros
abbreviated display of creating list: session.myConnectionsList = [] for r in iAmMemberConnectionsList: session.myConnectionsList.append(r.role_owner_user_id_fk) Correct user id, 4, appears when I print the list [4L] Then, I try to create a query for grid by joining list to

[web2py] Re: Insert into reference:list not working - FOREIGN KEY constraint failed field:upload

2017-10-02 Thread LoveWeb2py
Anyone have feedback? I have been banging my head against this all day... On Sunday, October 1, 2017 at 4:52:39 PM UTC-4, LoveWeb2py wrote: > > Hello, I'm trying to create a simple interface that allows users to select > multiple files and create a name for the bundle. I've followed the example

[web2py] 2.15.4 web2py.js

2017-10-02 Thread Dave S
Just getting ready to try out 2.15.4, and BeyondCompare tells me that applications/welcome/static/js/web2py.js changed, but the same file for examples and admin did not. If this is deliberate, is it documented? /dps -- Resources: - http://web2py.com - http://web2py.com/book (Documentation) -

[web2py] Re: Future releases and support

2017-10-02 Thread Dave S
On Sunday, October 1, 2017 at 10:22:32 AM UTC-7, greenpoise wrote: > > Ill post one now: > > https://www.udemy.com/the-build-a-saas-app-with-flask-course/ > > On Scotch there is also a few very good ones complete tutorials > Is that one provided by the flask core developers? Also, Michael Bell

Re: [web2py] Re: Future releases and support

2017-10-02 Thread greenpoise
I think maybe I didnt explain myself correctly. Massimo posted "we are thinking were do we go from here". No doubt Web2py is the easiest but how far can we go with it? yes, I bet you you can do anything that flask does. Now, are the resources out there accessible? are the examples outdated? in

[web2py] Re: left join and common_filter

2017-10-02 Thread Anthony
On Monday, September 11, 2017 at 5:43:30 AM UTC-4, Marvix wrote: > > Found that was already discussed some years ago, but I think isn't resolved > > > https://groups.google.com/forum/#!topic/web2py/WY2U54uoTno > That was a separate issue. In this case, the problem is that you have not specified a

Re: [web2py] Re: Future releases and support

2017-10-02 Thread Marvi Benedet
When I was looking for an easy to learn framework for building a web application, I tried some: Django, Flask, Pyramid and so on. As I had very limited time to invest, I found that the one that was best explained was web2py. I saw the Massimo's videos and all was so easy and clear. I wasn't expert

Re: [web2py] Re: left join and common_filter

2017-10-02 Thread Marvi Benedet
Really no solutions to this? 2017-09-11 11:43 GMT+02:00 Marvix : > Found that was already discussed some years ago, but I think isn't resolved > > > https://groups.google.com/forum/#!topic/web2py/WY2U54uoTno > > > > -- > Resources: > - http://web2py.com > - http://web2py.com/book (Documentation)

[web2py] component rebuild via anchor helper

2017-10-02 Thread Pierre
hello all, I am using the A helper as described in the book to reconstruct a page component when user presses a button: {{=A('linked page', _href=URL('func', vars={'a':a, 'b':b}), cid='myid')}} query string I pass can be quite long so I'd like a POST request instead of a GET. Is this possibl