[web2py] Re: Clean Bootstrap layout

2015-10-23 Thread pbreit
I'm not sure what exactly I need in my template for Web2py to work. On Friday, October 23, 2015 at 9:03:14 PM UTC-7, Dave S wrote: > > > > On Friday, October 23, 2015 at 5:38:29 PM UTC-7, pbreit wrote: >> >> Is there a nice, clean Bootstrap layout with none of the web2py cruft in >> it? Just the

[web2py] Re: Should this work in Web2py

2015-10-23 Thread Anthony Smith
what I want to is update the stock_task.withhold until date with the result of db.product.withholding_ period (int) + stock_task.completed date (date) This is what I have tried, below On Friday, 23 October 2015 20:56:44 UTC+11, Anthony Smith wrote: > > > I am trying to update *withhold_until_da

Re: [web2py] Re: Ask Web2py Groups: Has anyone here used web2py with JQuery Mobile?

2015-10-23 Thread Marco Mansilla
El Wed, 21 Oct 2015 11:38:56 -0700 (PDT) Julieta Abdala escribió: > How I can load Layout.html or plugin_jqmobile/layout.html according > with the client? > > I need to do 2 applications? One for pc and other for mobile? > > Thanks > > El sábado, 17 de septiembre de 2011, 10:45:19 (UTC-3), Pys

[web2py] Re: Clean Bootstrap layout

2015-10-23 Thread Dave S
On Friday, October 23, 2015 at 5:38:29 PM UTC-7, pbreit wrote: > > Is there a nice, clean Bootstrap layout with none of the web2py cruft in > it? Just the bare essentials? > Did you check the Bootstrap site? /dps -- Resources: - http://web2py.com - http://web2py.com/book (Documentation) -

[web2py] Clean Bootstrap layout

2015-10-23 Thread pbreit
Is there a nice, clean Bootstrap layout with none of the web2py cruft in it? Just the bare essentials? -- 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) --- Yo

[web2py] GAE problems cont'd--Library not loaded: libmysqlclient.18.dylib

2015-10-23 Thread Tom Campbell
Have been unable to connect to Cloud SQL so far in Python (I can do it in raw Go). Sébastien reminded me about installing the Python MySQLdb lib . Still no luck, but it got me thi

[web2py] Re: Should this work in Web2py

2015-10-23 Thread Anthony Smith
I think I need to re think how I am doing this as I am learning web2py. It maybe a case of re looking at the book. cheers On Friday, 23 October 2015 20:56:44 UTC+11, Anthony Smith wrote: > > > I am trying to update *withhold_until_date* with the following > > > > import datetime > #product with

[web2py] Re: Google Cloud SQL: Unable to connect

2015-10-23 Thread Tom Campbell
Thank you, Sébastien. I indeed had not used MySQLdb in app.yam, nor had I included credentials on the tried what you suggested and still get an error on the dev_appserver.py command line. Log files say this: ERROR2015-10-23 21:47:10,581 restricted.py:174] Traceback (most recent call last):

Re: [web2py] Re: Multi-language field content

2015-10-23 Thread Richard Vézina
I may use the wrong language ID? On Fri, Oct 23, 2015 at 4:32 PM, Richard Vézina wrote: > T.force('jp') didn't result in jp.py language file being created... Was > this available in web2py 2.9.5? My understanding of T.force(some language) > was that it override browser preferred language, doc he

Re: [web2py] Re: Multi-language field content

2015-10-23 Thread Richard Vézina
T.force('jp') didn't result in jp.py language file being created... Was this available in web2py 2.9.5? My understanding of T.force(some language) was that it override browser preferred language, doc here : http://web2py.com/books/default/chapter/29/04/the-core?search=T.force Richard On Fri, Oct

[web2py] Re: Multi-language field content

2015-10-23 Thread Leonel Câmara
Yes, If you want it created automatically you can also use T.force('jp') in the beginning of your first model. -- 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

Re: [web2py] Re: Multi-language field content

2015-10-23 Thread Richard Vézina
Japanese is available in chrome, can I just create the jp.py language file? On Fri, Oct 23, 2015 at 3:56 PM, Leonel Câmara wrote: > You don't need them included in the welcome. You can just create them. The > reason web2py is not creating them automatically is because no one with a > browser req

[web2py] Re: Multi-language field content

2015-10-23 Thread Leonel Câmara
You don't need them included in the welcome. You can just create them. The reason web2py is not creating them automatically is because no one with a browser requesting that language (Accept-Language) has made a request. I don't know nothing about Japanese so I don't even know if those variants

Re: [web2py] Re: Resource webservice built on web2py for web2py comunity [BETA]

2015-10-23 Thread Richard Vézina
The easiess way I can see, is having a form with code/textarea for each important web2py code container (models/controllers/views, maybe modules), before any bit of code submit get executed it needs a review from site administrator or web2py core dev (which is a bottle neck and a time investment)..

Re: [web2py] Re: Resource webservice built on web2py for web2py comunity [BETA]

2015-10-23 Thread Ron Chatterjee
I see. Its not my site or maintaining. It will be upto Ivica I am assuming. But good discussion! On Friday, October 23, 2015 at 2:31:49 PM UTC-4, Richard wrote: > > It will make it more difficult to review IMHO and you kind of need to > install the app before you can even look at the code... Si

Re: [web2py] Re: Resource webservice built on web2py for web2py comunity [BETA]

2015-10-23 Thread Richard Vézina
It will make it more difficult to review IMHO and you kind of need to install the app before you can even look at the code... Since there can have nasty piece of code in an uploaded app, I would really avoid this path. Richard On Fri, Oct 23, 2015 at 2:20 PM, Ron Chatterjee wrote: > Right, or h

Re: [web2py] Re: Resource webservice built on web2py for web2py comunity [BETA]

2015-10-23 Thread Ron Chatterjee
Right, or have a link where we can upload .w2p file and install, and have another link to that app to see if its working. On Friday, October 23, 2015 at 1:42:12 PM UTC-4, Richard wrote: > > Just by providing a way to the user to create model/controller/view file > to the web2py ref app securely

Re: [web2py] Re: Multi-language field content

2015-10-23 Thread Richard Vézina
This is an old thread, but can we hava this to work I didn't see any japanese specific translation file include in the last welcome app... Thanks Richard On Sat, May 4, 2013 at 10:22 AM, 黄祥 wrote: > imho, i think your define table is redundant if you do like your post > above e.g. field name1

Re: [web2py] Re: Resource webservice built on web2py for web2py comunity [BETA]

2015-10-23 Thread Richard Vézina
Just by providing a way to the user to create model/controller/view file to the web2py ref app securely (which is the difficult path, maybe having a review of posted code can do the trick) can at least let us know if the code can work under the current version of web2py that is in use by the web2py

Re: [web2py] Re: Resource webservice built on web2py for web2py comunity [BETA]

2015-10-23 Thread Ron Chatterjee
I agree with Richard. An online demo to make sure the code works will be great. On Friday, October 23, 2015 at 11:30:15 AM UTC-4, Richard wrote: > > What about snippet validation of code infrastructure?? > > It sound crazy, but I am sure we can find a way to do it... > > Just a working Demo envi

Re: [web2py] Re: Resource webservice built on web2py for web2py comunity [BETA]

2015-10-23 Thread Richard Vézina
What about snippet validation of code infrastructure?? It sound crazy, but I am sure we can find a way to do it... Just a working Demo environnement that implement the proposed snippet could do it, if the demo run that mean the snippet is still working is not snippet may be put in a queue to be r

Re: [web2py] Re: Resource webservice built on web2py for web2py comunity [BETA]

2015-10-23 Thread Ron Chatterjee
Wondering if we can have more examples, source code and snippets gets put into web2pyref. I don't know who is maintaining the page but few things I wish I could use example of sending email using gmail SMTP and contact form, voting, likes, rating, bootstrap3 and social media integration etc. Ju

[web2py] Re: Should this work in Web2py

2015-10-23 Thread Niphlod
many things are unclear: - "I'm trying" ---> meaning it's not working ? what's the issue ? does it return an exception ? - the code you posted doesn't call anywhere an .update() . Goes without saying that no record will be ever updated - the code you posted is in between a model and a controller

[web2py] Should this work in Web2py

2015-10-23 Thread Anthony Smith
I am trying to update *withhold_until_date* with the following import datetime #product withholding in days days = (0) #get the days pdays_row = db(db.product.withholding_period>0).select().first() pdays = pdays_row.pdays #get the date wdate_rows = db(db.stock_task.completed_date>0).select(

Re: [web2py] Re: CMS WEB2PY

2015-10-23 Thread Selman Kocael
sorry. it is new version: https://bitbucket.org/mulonemartin/instantpress/wiki/Home video: https://www.youtube.com/watch?v=vGkR246URRk 2015-10-23 11:11 GMT+03:00 Selman Kocael : > i found a web2py CMS on google code called instantpress. > https://code.google.com/p/instant-press/ > > https://www.

Re: [web2py] Re: CMS WEB2PY

2015-10-23 Thread Selman Kocael
i found a web2py CMS on google code called instantpress. https://code.google.com/p/instant-press/ https://www.youtube.com/watch?v=gtdJ5JCxiJQ it is last updated December 2010, still working. (of course :)) i need to modify tables visual, or create simple pages. so it could be nice to improve fun