[web2py] What’s the timelines for py4web?

2019-12-15 Thread VP
Is there timeline milestones? Thanks. -- 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

[web2py] Re: web3py -> py4web

2019-08-15 Thread VP
py4web is a great name. Just on the first page of documentation, but I like what I am reading a lot. On Wednesday, July 24, 2019 at 12:40:27 AM UTC-5, Massimo Di Pierro wrote: > > OK. I know. I am not good with names. > But there are lots of requirements to be fulfilled. > py4web.com was ava

[web2py] hello and a question about deployment

2018-12-03 Thread VP
Hello Web2py users/developers, I haven't used Web2py for a while, but I'm contemplating to use it for the next project (with Python 3). What deployment setup would you recommend? I'm looking for a simple Linux-based solution that is easy to set up, reliable, hopefully maintenance-free. Years

[web2py] Re: web2py 2.6.1 is OUT - IMPORTANT READ

2013-09-14 Thread VP
Thanks Massimo for another great version of Web2py. I wonder if much of this can be handled automatically by web2py, instead of asking users to manually copy files. (It seems easy enough for web2py to look at the application folder and copy files automatically). The thing is web2py can be upgr

[web2py] Re: packing apps as desktop native apps (windows/os x)

2013-07-31 Thread VP
> copy your app using optionally init as the appname and zip it all ? > > On Wednesday, July 31, 2013 7:15:46 PM UTC+2, VP wrote: >> >> I know there're some recipes in the book in deploying your applications >> as windows binaries (how about Mac???) >> >> B

[web2py] packing apps as desktop native apps (windows/os x)

2013-07-31 Thread VP
I know there're some recipes in the book in deploying your applications as windows binaries (how about Mac???) But I think it'd be nice to have a feature in admin where one click can deploy your application as a native app. I think this will make web2py even more interesting. -- --- You re

[web2py] Re: bootstrap 3

2013-07-31 Thread VP
not quite compatible with web2py yet. Navbar are all messed up. Possibly other things as well. -- --- You received this message because you are subscribed to the Google Groups "web2py-users" group. To unsubscribe from this group and stop receiving emails from it, send an email to web2py+un

[web2py] Re: bootstrap 3

2013-07-29 Thread VP
Can I simply swap with web2py's bootstrap files , expecting no technical glitches? On Monday, July 29, 2013 9:01:47 AM UTC-5, Niphlod wrote: > > just to inform everybody that 3.0 is coming out > http://twitter.github.io/bootstrap/ > -- --- You received this message because you are subscribed

[web2py] discovered something cool in web2py DAL

2013-07-24 Thread VP
Maybe this was obvious, but I never thought I could do this kind of queries in DAL. Okay, let's say I have 2 tables: Tags = db.define_table('tag', Field('name')) Post = db.define_table('post', Field('title'), Field('tag', 'reference tag')) Now, doing a join is easy using the query *(db.post

[web2py] Re: IS_IN_SET(multiple=True) does not get displayed properly in UDPATE forms

2013-07-11 Thread VP
After search I found the solution to this. The "type" of the field should be "list:string". Thanks. On Thursday, July 11, 2013 1:18:18 PM UTC-5, VP wrote: > > I have a field that is similar to this: Field('fav', > requires=IS_IN_SET(['red&

[web2py] IS_IN_SET(multiple=True) does not get displayed properly in UDPATE forms

2013-07-11 Thread VP
I have a field that is similar to this: Field('fav', requires=IS_IN_SET(['red','green','blue')], multiple=True)) Let's say I have an entry with this field selected with multiple values. On an update form, the existing values should have been selected. But they are not selected. I think thi

[web2py] Re: better calendar.js?

2013-07-11 Thread VP
gt; (apart for jQuery) and CSS and supports both date and datetime. > Does the calendar you propose meet these specs? > > On Thursday, 11 July 2013 11:51:34 UTC-5, VP wrote: >> >> The current calendar.js is fine for date picker, but for datetime picker >> it is not so g

[web2py] better calendar.js?

2013-07-11 Thread VP
The current calendar.js is fine for date picker, but for datetime picker it is not so good; select a specific time is a headache. It seems this one is superior: http://tarruda.github.io/bootstrap-datetimepicker/ I wanted to swap out but that doesn't seem to be easy. Any idea? Thanks

[web2py] Re: boolean DAL field giving error under 2.5.1

2013-06-23 Thread VP
It's hard to keep up with web2py new features. What is exactly, update=False? Thanks. On Saturday, June 22, 2013 3:33:28 PM UTC-5, Anthony wrote: > > Does this work: > > Field('report_motion', 'boolean', default=False, update=False), > > Anthony > > On Saturday, June 22, 2013 4:16:22 PM U

[web2py] Re: Purpose of creating group for each user?

2013-02-01 Thread VP
I think the current web2py access control mechanism is unnecessarily complicated. It is both role based and task based. But this difference here is just semantics (i.e. you can define a group that can do a certain task). The only actually difference is in terms of implementation, not conceptu

[web2py] Re: raspberry pi

2013-01-10 Thread VP
Which OS runs on Raspberry Pi? Is there instructions to install Linux, for example, somewhere? Thanks. --

Re: [web2py] Re: problem with multiple processes with uwsgi and web2py

2013-01-08 Thread VP
yeah. I commented off the worker=2 setting in that file. Consequently, the number of workers was exactly what the web2py configure file says. On Tuesday, January 8, 2013 7:36:01 PM UTC-6, rochacbruno wrote: > > and youi delete or comment that file? > --

Re: [web2py] Re: problem with multiple processes with uwsgi and web2py

2013-01-08 Thread VP
Thanks Bruno. Okay, I figured it out. I'm not sure if I used an out-of-date web2py/uwsgi/ngninx install script, but that script does not mention another file /usr/share/uwsgi/conf/default.ini This file sets the number of workers to 2 and it overwrites the web2py configuration file /etc/uwsgi

[web2py] Re: problem with multiple processes with uwsgi and web2py

2013-01-08 Thread VP
Those who are running nginx, uwsgi, web2py, can you do a quick check to see if uwsgi reads your web2py config file properly? The default config has 4 processes. If you do a "top -u www-data", you should see 5 uwsgi processes (4 + 1 master). If you see a different number (may be 3?), then there

[web2py] Re: problem with multiple processes with uwsgi and web2py

2013-01-08 Thread VP
2013 20:58:10 UTC-3, VP escribió: >> >> I also test uwsgi serving a Bottle app. I run from the command line, >> uwsgi, the bottle app with 8 processes. > > > Is that the file created by the script?. uwsgi can take options in > different ways. Make sure it is actual

[web2py] Re: problem with multiple processes with uwsgi and web2py

2013-01-08 Thread VP
I also test uwsgi serving a Bottle app. I run from the command line, uwsgi, the bottle app with 8 processes. This works as I expect. Requests are served by unbusy processes while long-running requests are still being run. So something about the web2py configuration that doesn't tell uwsgi

[web2py] problem with multiple processes with uwsgi and web2py

2013-01-08 Thread VP
My set up is nginx, uwsgi, web2py, and I am trying unsucessfully to configure so that there are multiple uwsgi processes serving web2py. I used the script to install nginx, uwsgi. I configured 8 processes. $cat /etc/uwsgi/apps-enabled/web2py.xml python /run/uwsgi/app/web2py/web2py.soc

Re: [web2py] Re: session.flash not working?

2012-12-28 Thread VP
it be a js issue? > Do you get chrome errors? Is the flash in the page text? > > On Thursday, 27 December 2012 17:55:46 UTC-6, VP wrote: >> >> session.flash does not work properly for me either (latest web2py stable >> version). >> >> when i redirect to the

[web2py] Re: Can web2py be used for highly complex relational databases?

2012-12-28 Thread VP
What is the level of dependency of this application? I bet you can factor this project into dozens of different apps, which communicates with each others through APIs if needed. It's hard to think of an app with 10,000 tables all interdependent. --

Re: [web2py] Re: session.flash not working?

2012-12-27 Thread VP
session.flash does not work properly for me either (latest web2py stable version). when i redirect to the same controller , it works for some controller and doesn't work for other controllers. Have no idea why. --

[web2py] Re: Database borked??

2012-12-14 Thread VP
In the a common mistake in migrations or simply moving things around is moving the database but not the metadata itself. I am wondering if it is better to keep the metadata (.tables files) IN the database itself instead of on the filesystem? On Wednesday, December 12, 2012 9:41:22 PM UTC-6, M

Re: [web2py] Re: online users in web2py

2012-12-12 Thread VP
Does auth_event keep track of auto-logout events? If so, you can find out who have not been logged out for the past X minutes. If you relate X to the logout time windows (I think default is 30 minutes), you should be able to do it. --

[web2py] Re: unit of work support in DAL

2012-12-09 Thread VP
I don't quite understand how this works. That's why I am asking a question if webp2y supports this so-called feature called "Unit of Work", something that SQLAlchemy supports. It is possible that this concept does not apply to web2py DAL. I don't know. I have a feeling you are defensive abo

[web2py] Re: unit of work support in DAL

2012-12-08 Thread VP
> > > Of course if you do > product.update_record(description = 'product description') > product.update_record(stock = 11) > product.update_record(code = 'abcfed') > queries will be 3, but your code is the one to blame. > > How do you imagine a "unit of work" pattern/algo in a DAL ? > > It is conc

[web2py] unit of work support in DAL

2012-12-08 Thread VP
I am wondering if web2py DAL supports the notion of a unit of work so as to optimize the number of queries done per transaction? Thanks. --

[web2py] Re: Web2py is Out Pycon 2013.

2012-12-06 Thread VP
On Thursday, December 6, 2012 11:05:52 AM UTC-6, Massimo Di Pierro wrote: > > Hello VP, > > I proposed two talks. i do not remember the exact tiles: > > - one was about new web2py features: wiki, scheduler, components > This sounds like an update on web2py. Playing the

[web2py] Re: Web2py is Out Pycon 2013.

2012-12-06 Thread VP
Massimo said his proposed talk was rejected. I am curious as to what the title of that talk is or what it is supposed to be about. --

[web2py] can "go back" after selecting mobile interface in admin app

2012-11-28 Thread VP
I inadvertently selected the "mobile interface" in the admin app. Now I can't go back to the web interface. Can anyone help? Thanks. --

Re: [web2py] Re: web3py?

2012-11-28 Thread VP
I have already put in my few cents in that thread. The only thing I want to say here is that I hope web3py will be out soon. I think web2py has started to show its age a little bit. :) --

[web2py] Re: Placing the database of a web2py app on the cloud

2012-11-13 Thread VP
Thanks guy. --

[web2py] Re: Placing the database of a web2py app on the cloud

2012-11-12 Thread VP
If I put the database on Rackspace's Cloud Database, for example, how do I configure the web2py app to make the connection? Thanks, VP --

[web2py] Placing the database of a web2py app on the cloud

2012-11-12 Thread VP
? Any help is appreciated. Thanks, VP --

[web2py] menu flickering with safari

2012-11-06 Thread VP
as to do with bootstrap css/js incompatibilities with Safari. But since this is web2py's default behavior, does anyone have this problem and fixes? Thanks, VP --

[web2py] Re: help me test sessions in cookies

2012-10-16 Thread VP
1 PM UTC-5, Niphlod wrote: > > > On Tuesday, October 16, 2012 7:46:16 PM UTC+2, VP wrote: >> >> >> I think one advantage of moving session data to the client side is >> scalability. There ought to be a noticeable difference between 100 >> processes writing to t

[web2py] Re: help me test sessions in cookies

2012-10-16 Thread VP
> > I think one advantage of moving session data to the client side is scalability. There ought to be a noticeable difference between 100 processes writing to the same filesytem and these computations moved to the client side. > On Tuesday, 16 October 2012 10:59:20 UTC-5, VP

[web2py] Re: help me test sessions in cookies

2012-10-16 Thread VP
to be bashing web2py. Massimo said this implementation is like Flask. As such, they are cryptographically signed, but not encrypted. If that is the case, they might be read but not modified. > On Tuesday, October 16, 2012 5:59:20 PM UTC+2, VP wrote: >> >> I think cook

[web2py] Re: help me test sessions in cookies

2012-10-16 Thread VP
I think cookie-based sessions is great for many cases. But in some cases, it might not be desirable as clients can see what might be secret information. Why not both?Maybe, two types of sessions, client-side and server-side sessions. Although both client and server side sessions are mean

[web2py] Re: A suggestion on SQLFORM

2012-10-15 Thread VP
having the validator in a list, it will not create the dropdown) > > 2) add autocomplete: > > db.order.product.widget = SQLFORM.widgets.autocomplete(request, > db.field.name, db.product.id) > > > > On Monday, 15 October 2012 12:28:22 UTC-5, VP wrote: >> >> Let&

[web2py] A suggestion on SQLFORM

2012-10-15 Thread VP
Let's say I have these 2 tables: product = db.define_table('product', Field('name')) order = db.define_table('order', Field('product', db.product)) Now, when you do something like this: form = SQLFORM(db.order) The product field will be a drop down list of products for you to choose. This is

[web2py] Re: web2py 2.1.1 is OUT!

2012-10-15 Thread VP
Great. I would really love to see list:double fields to be supported in the near future. Also, the current method of storing serialized objects in fields are kinda funky (both with json and pickle). You put in integers, doubles, etc. and you got back strings. --

[web2py] Re: Rocket server hanging

2012-10-10 Thread VP
I'm not impressed with Rocket , even as a devel-mode server. It hangs on me frequently. Run web2py with more than 1 processes seem to help. --

[web2py] fields with 0 in form.custom.inpval

2012-10-10 Thread VP
I'm using form.custom.inpval to access database fields. A bug I have found is that fields defaulted with 0 is empty. The correct value should be 0. --

[web2py] weird variable name violation

2012-10-08 Thread VP
I've always had this problem with web2py. Sometime, I got a weird name violation. For example, you can't name a table "order", or can't name a field "item". It doesn't seem to be documented anywhere. --

[web2py] Problems with list:reference and SQLFORM

2012-10-07 Thread VP
SQLFORM represents a reference field as a multiply-selected drop-down list, this presents two problems: (1). If the referenced table has 10,000 entries, then they will be shown. It's inefficient. But it's somewhat unavoidable, given what it is. (2). The other problem is more serious. A mult

[web2py] Re: why can't we have "list:double"?

2012-09-30 Thread VP
; Nobody asked for it. It will still be stores as string so I am not sure > what you gain by it that cannot be achieved by a list:string and a > IS_LIST_OF(IS_FLOAT_IN_RANGE(...)) validator. > > On Saturday, 29 September 2012 20:36:36 UTC-5, VP wrote: >> >> I'm wonde

[web2py] Re: pathoc: testing web servers with pathological requests

2012-09-29 Thread VP
I'm very unimpressed with Rocket, even in development mode. On Saturday, September 29, 2012 7:51:53 PM UTC-5, Massimo Di Pierro wrote: > > We have patched Rocket and now the trunk version passes pathoc tests. > In the process we found that rocket was processing incorrectly multi-line > header

[web2py] why can't we have "list:double"?

2012-09-29 Thread VP
I'm wondering why we can't have list:double as a field type? It seems a natural thing to have. Thanks. --

[web2py] Re: (2.0.9) compute fields don't work on db update

2012-09-24 Thread VP
>> >>> product.insert(cost1=10, cost2=20) >> 1 >> >>> p = db.product(1) >> >>> p.update_record(cost1=5) >> , >> 'cost1': 5, 'cost2': '20', 'total': '30', 'id': 1,

[web2py] Re: (2.0.9) compute fields don't work on db update

2012-09-24 Thread VP
The problem is still there with nightly build. On Monday, September 24, 2012 10:18:38 AM UTC-5, Massimo Di Pierro wrote: > > Please try the nightly build and let us know if the problem is still there. > > Massimo > > On Monday, 24 September 2012 07:49:26 UTC-5, VP wrote: >

[web2py] Re: (2.0.9) compute fields don't work on db update

2012-09-24 Thread VP
cost1=5) > , > 'cost1': 5, 'cost2': '20', 'total': '30', 'id': 1, 'delete_record': > }> > >>> print db.product[1].total > 30 > > On Saturday, 22 September 2012 20:36:44 UTC-5, VP wrote

[web2py] Re: (2.0.9) compute fields don't work on db update

2012-09-22 Thread VP
e in the arguments of update_record or > update. It will not retrive the info from the database. > > > > > On Saturday, 22 September 2012 15:43:59 UTC-5, VP wrote: >> >> - sqlite >> - 2 compute fields do not seem to get call on update using both >> update_record and db().update >> - They do work on crud/form updates though. >> > --

[web2py] (2.0.9) compute fields don't work on db update

2012-09-22 Thread VP
- sqlite - 2 compute fields do not seem to get call on update using both update_record and db().update - They do work on crud/form updates though. --

[web2py] Re: 2.0.6 editor

2012-09-03 Thread VP
Have you considered Codemirror? I think it is superior to the old editor used by web2py. I haven't used the latest one so I can't tell. On Monday, September 3, 2012 5:52:31 PM UTC-5, lucas wrote: > > hello one and all, > > just updated to 2.0.6 today. nice, awesome, it seems faster, is it or

[web2py] Re: Scaling Web2py

2012-09-02 Thread VP
I think it'd be nice to have session created explicitly inside a "WITH" statement block so that users create sessions only when they want. But I don't know if it's feasible because I suspect sessions are created automatically and passed into the exec environment, and it appears sessions are us

[web2py] Re: How to persist session data for user across browsers

2012-09-01 Thread VP
I don't think you can use session to do this. For one thing, sessions are usually have an id saved in the browser's cookie. If you switch browser, this id is lost. I think you can have a database table (using DAL) whose rows are associated with users and are expired after 24 hours. On Satu

[web2py] Re: Scaling Web2py

2012-09-01 Thread VP
Web2py can be used to build fairly effortlessly either complex applications with *small* numbers of concurrent users (*small* here is relatively and objective) or simple applications with *large* numbers of concurrent users. But if you want to build complex applications with large numbers of

Re: [web2py] Use web2py to create offline desktop application

2012-09-01 Thread VP
One problem I have during development with the default setup of rocket is that it occasionally freezes when there is an error. These freezes appear to vanish when I use anyserver.py with rockets and 2 or 4 workers. On Saturday, September 1, 2012 8:17:10 PM UTC-5, rochacbruno wrote: > > Yes!

[web2py] Re: pycon talk

2012-03-13 Thread VP
ht after the UL. > > Anthony > > > > > > > > On Tuesday, March 13, 2012 10:32:14 PM UTC-4, VP wrote: > > > Anthony, maybe I didn't ask clearly.   Here's the model: > > > Bookmark = db.define_table( > >     'bookmark', > >    

[web2py] Re: pycon talk

2012-03-13 Thread VP
)}} Reliability: {{show(rating,'2')}} Privacy: {{show(rating,'3')}} Child safety: {{show(rating,'4')}} {{=form}} I don't see anything special in view, but the field "tags" automatically adds a new text box for a new tag, after you enter a tag. Ho

[web2py] Re: pycon talk

2012-03-13 Thread VP
Also, I saw in the video the field tag of type "list:string" is presented nicely in view in the following way: after a new tag is entered, a new empty textbox is added so a new tag can be added. How is this done? (I don't think this is the default behavior).

[web2py] Re: pycon talk

2012-03-13 Thread VP
uth.signature) Can you explain what auth.signature? This feature doesn't seem documented. Thanks. On Mar 13, 6:41 pm, Massimo Di Pierro wrote: > https://github.com/mdipierro/web2py-appliances/tree/master/UrlShortening > > > > > > > > On Tuesday, 13 March 2012 17:04:09 U

[web2py] pycon talk

2012-03-13 Thread VP
Massimo: can you make this url shortening app available? http://www.youtube.com/watch?v=M5IPlMe83yI thanks.

[web2py] multiple, variable number of uploads

2012-03-03 Thread VP
Is there a way to do multiple uploads in web2py? For example, I have an upload field that would allows users to upload one file, or two files, or three files, etc. Is there an easy way to do this? Thanks.

[web2py] Re: Create indices from DAL

2012-02-13 Thread VP
does this go in model? On Feb 13, 12:20 am, Michael Toomim wrote: > Here's an improved way to create indices in the DAL. Works only with > postgresql and sqlite. > > def create_indices(*fields): >     ''' >     Creates a set of indices if they do not exist >     Use like: >        create_indices(

[web2py] session2trash doesn't work with separate=True

2012-02-08 Thread VP
with this option: session.connect(request, response, separate=True) session2trash script crashed (it couldn't unlink directories). Can someone fix this? Thanks.

[web2py] Re: web2py performance

2012-02-07 Thread VP
Did you remove the line in layout.html that links to an external FaceBook service? Things like this take time. On Feb 7, 1:24 am, LightOfMooN wrote: > Hi > Just download web2py, run it and go to edit welcome app. > > in db.py: > db.define_table('mytable',Field('myfield','string')) > > in cont

[web2py] Re: URL parsing problems (request.args)

2012-02-03 Thread VP
> "they can decide to ignore empty path segments. Both IIS and Apache work > this > way"http://davescoolblog.blogspot.com/2011/11/uri-empty-path-segments-mat... If this is true, it'll be a bummer for web2py, as its default behavior differentiates empty and non-empty path segments.

[web2py] Re: URL parsing problems (request.args)

2012-02-03 Thread VP
Im using nginx, but can someone with ngnix, apache, see if this is indeed the case? I am not sure which config files of nginx to look for these rewrite rules. /opt/nginx/conf/nginx.conf has not rewrite rules. On Feb 3, 1:46 pm, pbreit wrote: > "empty path segments are normally > ignored"http://

[web2py] Re: URL parsing problems (request.args)

2012-02-03 Thread VP
For some reason my nginx does not keep log, but I think it's unlikely that nginx will remove slashes in the middle of a URL (e.g. app/con/ func/a/b//c).

[web2py] Re: URL parsing problems (request.args)

2012-02-03 Thread VP
To clarify, given URL controller/function/a/b//c, on the server, path info is: controller/function/a/b/c This is wrong. The correct is shown on my pc as controller/function/a/b//c

[web2py] Re: URL parsing problems (request.args)

2012-02-03 Thread VP
> Another thing that might help is to put =BEAUTIFY(request) into a template > somewhere and compare the two when given URLs of the form you're having > trouble with. This is interesting. On the server, path_info and web2py_original_uri got it wrong. If say, the url is app/controller/functio

[web2py] Re: URL parsing problems (request.args)

2012-02-03 Thread VP
My personal pc is Mac Leopard Python 2.7.2. The parsing works as expected on this pc. The server is Debian squeeze, ngnix, uwsgi, Python 2.6.6. The parsing messed up as described above. On Feb 3, 12:00 pm, Jonathan Lundell wrote: > On Feb 3, 2012, at 9:46 AM, VP wrote: > > >

[web2py] Re: URL parsing problems (request.args)

2012-02-03 Thread VP
Yes, I did restart and incorporated your fix. It still doesn't work. I don't think it has to do with routes.py On Feb 3, 9:52 am, Jonathan Lundell wrote: > On Feb 3, 2012, at 7:46 AM, VP wrote: > > > Thanks. I just emailed you my routes.py. > > > But routes.py mi

[web2py] Re: URL parsing problems (request.args)

2012-02-03 Thread VP
Thanks. I just emailed you my routes.py. But routes.py might not be the cause, because I have just removed it (without using routes.py), the problem still existed. On Feb 3, 9:27 am, Jonathan Lundell wrote: > On Feb 3, 2012, at 7:20 AM, VP wrote: > > >> Is it possible that

[web2py] Re: URL parsing problems (request.args)

2012-02-03 Thread VP
site.com to the appropriate app. Could this be the problem? If so, how to fix it? Thanks, VP

[web2py] Re: URL parsing problems (request.args)

2012-02-03 Thread VP
Furthermore, on the server, this URL app/controller/function/13/1//5/ results in request.args to be ['13','1','5'], which is seriously wrong. The right answer of course should be ['13','1','','5']. Can someone help? Thanks.

[web2py] processing upload field.

2012-02-03 Thread VP
I have the following situation. There is a field A of type upload (image). There is another field B of type compute, which depends on A. I want to be able to process the image uploaded in field A and save it, but before the compute in field B is executed. In other words, field B will be compute

[web2py] URL parsing problems (request.args)

2012-02-03 Thread VP
ses up my controller logic. What causes this? Thanks VP

[web2py] some ideas on built-in emphasis on client-side processing for web2py

2011-11-27 Thread VP
ld imagine one can use Pyjamas' pyjs.js to translate the Python code to javascript or to use something like Skulpt (which will be slow) to interpret Python code directly on the browsers. VP

[web2py] Re: cross-platform apps

2011-11-27 Thread VP
Thanks Anthony. Is Skeletion configured by default when a new application is created or it's just in this welcome app? Thanks, VP On Nov 26, 10:35 pm, Anthony wrote: > On the server side, request.user_agent() returns info about the user agent, > and request.user_agent().is_mobil

[web2py] cross-platform apps

2011-11-26 Thread VP
How do we do this efficiently in web2py? Further, in addition to layouts, different controllers might be needed for different platforms too. How do we do this efficiently? Thanks. VP

[web2py] Re: spinejs with Web2py

2011-09-30 Thread VP
Just looking very briefly at spinejs, I think it's a bad idea to use it with web2py. Spinejs is supposed to be a framework itself, with its own models, views, etc. Where webp2y might fit in is providing server side storage. Hopefully, one day web2py's default option is to AJAX everything related

[web2py] Re: Re-Launch a Better version www.beunick.com

2011-09-09 Thread VP
On Sep 8, 5:10 pm, pbreit wrote: > Looks nice. "beunick" is a bit of a strange name. The first thing I think of > is "eunuch" which is not the most pleasant thought. Seriously, this is a huge problem. The owner(s) should change that name.

[web2py] Re: ORMs as anti-pattern?

2011-06-15 Thread VP
I have always felt that ORM is OO goes nuts. I have a question for Massimo. When we select a few columns, does the Web2py DAL only get those columns from the database (with appropriate queries), or does it retrieve all of them from the database and only return those selected for? Thanks.

[web2py] Re: Speed of rendering html data (10,000+ rows)

2011-06-15 Thread VP
> for i in custdata: >    mystr2 = ''.join([mystr2, '' , str(i[0]) , '']) ... > lst = [ jn(['' , str(i[0]) , '', >            '' , str(i[1]) , '', >            '' , str(i[2]) , '', >         .. more omitted..]) for i in res] > > mystr=jn(lst) > --

[web2py] Re: Deploying with default web2py server?

2011-06-02 Thread VP
Nginx+uwsgi *ought to be* the deployment of choice for web2py. Materials need to be posted and updated on how to set up and tweak this configuration. This will complete the whole webp2y experience. Frankly, I have no idea why web2py should depend on Rocket, instead of using Python wsgi server for

[web2py] Re: Ajax page update

2011-05-20 Thread VP
s. > > On May 19, 10:25 am, VP wrote: > > > > > > > > > Is there a guide for a clean and sweet way to implement these types of > > polling?  Like using jquery? > > > Thanks. > > > On May 19, 9:05 am, Anthony wrote: > > > > The si

[web2py] Re: Ajax page update

2011-05-19 Thread VP
loading the page? Thanks. On May 19, 9:25 am, VP wrote: > Is there a guide for a clean and sweet way to implement these types of > polling?  Like using jquery? > > Thanks. > > On May 19, 9:05 am, Anthony wrote: > > > > > > > > > The simplest approach w

[web2py] Re: Ajax page update

2011-05-19 Thread VP
Is there a guide for a clean and sweet way to implement these types of polling? Like using jquery? Thanks. On May 19, 9:05 am, Anthony wrote: > The simplest approach would probably be ajax short polling (i.e., an ajax > request every n seconds). If the orders page is just an administrative pag

[web2py] Re: Mail.send failure:login() takes exactly 3 arguments (2 given)

2011-05-11 Thread VP
This message shows up in my error log too, but I haven't had time to look into it. It might have something to do with the configuration of auth in db.py in the scaffolding code created when you create a new app (through admin panel). On May 11, 8:23 am, Massimo Di Pierro wrote: > gluon/tools.py

[web2py] Re: really nice interview on hackerpublicradio about web2py

2011-05-01 Thread VP
There have many many positive articles written about web2py. It's a good idea to collect them and place on the web2py.org website. On Apr 30, 11:18 pm, Massimo Di Pierro wrote: > http://hackerpublicradio.org/eps/hpr0711.mp3

[web2py] Re: SQLFORM question

2011-04-28 Thread VP
On Apr 27, 9:40 pm, Kenneth Lundström wrote: > I tried that soluttion but I think it didn t work as expected, it still > uppdated all records. > > I m using the newest  version web2py on linux. > > Kenneth Then, it is probably a bug. I don't think setting the rest of fields to non-writable is

[web2py] Re: Trunk new importer working?

2011-04-26 Thread VP
Will reloading apache have the same effect? On Apr 26, 10:57 am, Jonathan Lundell wrote: > On Apr 26, 2011, at 8:47 AM, VP wrote: > > > > > I think the new router and MULTIUSER_MODE doesn't quite work together > > nicely.  Specifically, when a user creates a new app

[web2py] Re: Deploying DB

2011-04-26 Thread VP
iate. On Apr 26, 10:55 am, Anthony wrote: > On Tuesday, April 26, 2011 11:42:03 AM UTC-4, VP wrote: > > > On Apr 25, 5:09 pm, Massimo Di Pierro > > wrote: > > > this case you must run with > > > > DAL(,migrate_enabled=True, fake_migrate_enable

[web2py] Re: Trunk new importer working?

2011-04-26 Thread VP
I think the new router and MULTIUSER_MODE doesn't quite work together nicely. Specifically, when a user creates a new app (through admin interface). Sometimes, the new router does not route /app correctly. It might have thought /app to be a controller of the main app. On Apr 26, 10:18 am, Jona

  1   2   3   4   >