Re: [web2py] Re: How to get started with web2py's Debug? - very basic questions

2015-04-18 Thread Osswalt
This is an old post but I just have the same issue on web2py v2.10.3 on OSX Yosemite 10.10.3 Wherever I try to toggle a breakpoint in the IDE I got the "... line..does not exist" error. Even if I go to the debug form and manually add a breakpoint I got the same error. Seems something related to

[web2py] Re: Creating dynamic feedback

2015-04-18 Thread 黄祥
i think you can use validation on form level, to check or validate the answer of the form submitted. ref: http://web2py.com/books/default/chapter/29/07/forms-and-validators#onvalidation best regards, stifan -- Resources: - http://web2py.com - http://web2py.com/book (Documentation) - http://gith

[web2py] Re: SQLFORM, add field with button

2015-04-18 Thread 黄祥
i think you can use list:reference field type for author field in table book. ref: http://web2py.com/books/default/chapter/29/06/the-database-abstraction-layer#list--type--and-contains best regards, stifan -- Resources: - http://web2py.com - http://web2py.com/book (Documentation) - http://gith

[web2py] bootstrap.min.css container

2015-04-18 Thread Dmitry Ermolaev
in origin - .container, .navbar-static-top .container, .navbar-fixed-top .container, . navbar-fixed-bottom .container { 1. width: 940px; } when resize window to small size it not correct show container I replace in my.css with: div.container { * width: inherit;* max-width: 1000px; } --

[web2py] Re: routes.py breaking login...

2015-04-18 Thread Anthony
Auth assumes the login actions are available at /default/user. If you change that, you have to tell Auth. The easiest way is upon initialization: auth = Auth(db, controller='pkg', function='my_user_function') Alternatively, you can subsequently change settings such as auth.settings.controller a

[web2py] Re: Creating dynamic feedback

2015-04-18 Thread Anthony
Or if you don't want a full page reload, you could submit and return the response via Ajax. On Saturday, April 18, 2015 at 3:43:22 AM UTC-4, 黄祥 wrote: > > i think you can use validation on form level, to check or validate the > answer of the form submitted. > ref: > > http://web2py.com/books/def

Re: [web2py] Re: Does Lazy Tables setting only have relevance if migration = True?

2015-04-18 Thread Anthony
Here you showed a snippet of code from the plugin. That assignment to the "requires" attribute should be moved into the original field definition, not set afterwards. Anthony On Friday, April 17, 2015 at 3:55:30 PM UTC-4, Alex Gl

[web2py] web2py need newer and cooler sample applications

2015-04-18 Thread Osswalt
I've been studying web2py some time now... Very cool indeed. I find frustrating not having fresh and cool samples to look at Most of Massimo's appliances are three years old and are just very simple applications. Most of powered-by sites are ugly or not working anymore. I think web2py deserv

[web2py] my site as example for web2py + bitcoin

2015-04-18 Thread Dmitry Ermolaev
Hi I use web2py and make - http://lite.cash/bets/ + bitcoin payment gateway - http://lite.cash may be you want use bitcoin payments on ours sites? -- Resources: - http://web2py.com - http://web2py.com/book (Documentation) - http://github.com/web2py/web2py (Source code) - https://code.google.com

Re: [web2py] my site as example for web2py + bitcoin

2015-04-18 Thread Ovidio Marinho
Very Well, Fantastic! [image: http://itjp.net.br] http://itjp.net.b r *Ovidio Marinho Falcao Neto* ovidio...@gmail.com Brasil 2015-04-18 12:27 GMT-03:00 Dm

Re: [web2py] web2py need newer and cooler sample applications

2015-04-18 Thread Vikash Sharma
+1 Regards, Vikash Sharma vikash0...@gmail.com On Sat, Apr 18, 2015 at 8:55 PM, Osswalt wrote: > I've been studying web2py some time now... Very cool indeed. > > I find frustrating not having fresh and cool samples to look at > Most of Massimo's appliances are three years old and are just v

[web2py] Re: Add field with button on SQLFORM

2015-04-18 Thread Massimo Di Pierro
The SQLFORM can only handle one to many. You have to create your own logic. On Friday, 17 April 2015 21:50:40 UTC-5, KevC wrote: > > Hi community! > Good afternoon, my name is Kevin. > I want to know if you could help me. I started to use web2py, but I don't > know some things. > I want to crea

Re: [web2py] Re: How to get started with web2py's Debug? - very basic questions

2015-04-18 Thread Massimo Di Pierro
Can you please open a ticket about this? On Saturday, 18 April 2015 02:36:04 UTC-5, Osswalt wrote: > > This is an old post but I just have the same issue on web2py v2.10.3 on > OSX Yosemite 10.10.3 > Wherever I try to toggle a breakpoint in the IDE I got the "... line..does > not exist" error. E

Re: [web2py] web2py need newer and cooler sample applications

2015-04-18 Thread Massimo Di Pierro
we were talking about removing the examples application completely. I am open to ideas. On Saturday, 18 April 2015 13:23:31 UTC-5, Vikash Sharma wrote: > > +1 > > Regards, > Vikash Sharma > vikash0...@gmail.com > > On Sat, Apr 18, 2015 at 8:55 PM, Osswalt wrote: > >> I've been studying web2py so

[web2py] Re: my site as example for web2py + bitcoin

2015-04-18 Thread Massimo Di Pierro
Really nice! On Saturday, 18 April 2015 10:27:38 UTC-5, Dmitry Ermolaev wrote: > > Hi > > I use web2py and make - http://lite.cash/bets/ > + bitcoin payment gateway - http://lite.cash > > may be you want use bitcoin payments on ours sites? > -- Resources: - http://web2py.com - http://web2py.com/

[web2py] Re: my site as example for web2py + bitcoin

2015-04-18 Thread Ron Chatterjee
Nice bootstrap! -- 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 Groups "web2py-users"

Re: [web2py] web2py need newer and cooler sample applications

2015-04-18 Thread Vikash Sharma
1. I have purchased themes from http://themeforest.net/ : Would really be interesed to get easy setup option in with examples application. I have 2-3 project in my mind but delaying due to good understanding. 2. Example app: should include samples webapp for data migration: e.g. extract_mysql_model

[web2py] question about components

2015-04-18 Thread Gary Cowell
Hello I'm struggling with components, with ajax. I've been trying to follow examples in the book and blog and not getting very far. I have an application that's based on five controller functions, with a page each. Each page has the same header at the top, and the bottom two thirds of the pag

[web2py] Need support for web2py application with over 1 million users.

2015-04-18 Thread Sandeep
We run major application in India with over 1 million users, and relatively high concurrent users traffic, which spikes twice a day. Recently we are experiencing a lot of troubles in scaling. We would love to get opinion from any consultant who provides support for web2py application in India.

Re: [web2py] Need support for web2py application with over 1 million users.

2015-04-18 Thread Vinicius Assef
Concerning web2py itself, the major scaling problem could be running big models files on each request. Using lazy tables will certainly help you. After all, scaling is not just a framework issue, right? How about caching, load balancing, database indexes, etc.? > On 18 Apr 2015, at 15:41, Sande

[web2py] Re: Web2py: Using images in HTML data

2015-04-18 Thread Joe Magaro
Does anyone have a method for this? On Friday, April 17, 2015 at 9:14:59 AM UTC-4, Joe Magaro wrote: > > Thanks Annet: I am aware of web2py URL helpers. I use them inside of my > views. > > However in this case, they wont work for me as the data is stored in a > table and output to a web page, I

[web2py] Re: Web2py: Using images in HTML data

2015-04-18 Thread Niphlod
can't you just use some templating and parse the richbox text, turning /mysitename/static/image.png to /%whatever%/static/image.png ,store that on db, and upon rendering replacing %whatever% with request.application ? On Sunday, April 19, 2015 at 3:18:16 AM UTC+2, Joe Magaro wrote: > > Does any

[web2py] Re: question about components

2015-04-18 Thread Massimo Di Pierro
Web2py components are really designed to live in their own div. If you are looking to build a single page application should should look into angular or ractive. They both work with web2py. On Saturday, 18 April 2015 19:05:02 UTC-5, Gary Cowell wrote: > > Hello > > I'm struggling with components

[web2py] Re: Need support for web2py application with over 1 million users.

2015-04-18 Thread Massimo Di Pierro
For use to help you we need more info about the architecture. There two ways you can do this. 1) you can share information on this list and we will all help and everybody will learn. 2) you can ask for private consulting from one of the companies that provide web2py support. If you need advice,

Re: [web2py] Re: Does Lazy Tables setting only have relevance if migration = True?

2015-04-18 Thread Alex Glaros
that error disappeared with your fix but was replaced with new error 'NoneType' object has no attribute 'id' Versionweb2py™Version 2.9.12-stable+timestamp.2015.01.17.06.11.03PythonPython 2.7.6: C:\Program Files\web2py\web2py\web2py.exe (prefix: )Traceback 1. 2. 3. 4. 5. 6. 7. 8. Traceback (most

Re: [web2py] web2py need newer and cooler sample applications

2015-04-18 Thread Ron Chatterjee
Its all there. Just read the manual. In views you can simply do {{include yourlayout.html}} and you can use the {{extend your_theme.html}} option and use those bootstrap. Place all the images, css and js under static. Little bit of work but its all there. Anyone can correct me on this. On Sat

Re: [web2py] Re: Does Lazy Tables setting only have relevance if migration = True?

2015-04-18 Thread Alex Glaros
wait...it does work... only time the above error is raised is when a link is attempted to be made for a text string in ckeditor seems a little too buggy for users at this time though is there a safer, less fancy alternative to ckeditor? thanks Alex -- Resources: - http://web2py.com - http://

[web2py] Re: question about components

2015-04-18 Thread Ron Chatterjee
I was able to create a layout in dreamweaver and use the include/extend option to use in web2py. I am not sure if that will help but using an external layout is something to things about. On Saturday, April 18, 2015 at 11:16:46 PM UTC-4, Massimo Di Pierro wrote: > > Web2py components are really

[web2py] Re: How to write dynamic part of a select?

2015-04-18 Thread Limedrop
That's a bit more involved. For groupby you need to build a query using | and for left you need a list of db.table.on(). Have a look at the sample code below for a rough outline of the process. grouping_fields = [db.table.field1, db.table.field2] groupby = grouping_fields[0] if len

Re: [web2py] Re: How to get started with web2py's Debug? - very basic questions

2015-04-18 Thread Osswalt
OK just posted ticket #924 http://github.com/web2py/web2py/issues/924 Greg -- 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 be