[web2py] Re: Deployment Confusion

2011-08-08 Thread Marcel Luethi
Hi Gour As a current customer of djangohosting.ch I'm interested to know how you did the web2py setup. Until now I'm only using it for static web sites, but plan to implement a web2py site in the near future. Thank you for your help. Regards, Marcel On 7 Aug., 18:05, Gour-Gadadhara Dasa wro

[web2py] Re: How do you document your apps?

2011-06-16 Thread Marcel Luethi
your project and choose the command > from the external tool menu available in the tool bar. > > 2011/6/15 Marcel Luethi > > > > > > > > > > > Hello! > > > I just finished an internal project using web2py (1.95.1) and have to > > document i

[web2py] How do you document your apps?

2011-06-14 Thread Marcel Luethi
Hello! I just finished an internal project using web2py (1.95.1) and have to document it for my colleagues. Preferably it is a system based of doc strings. Maybe Sphinx? Question: What are you using? Do you have any suggestions? Thanks in advance for your input! Best regards, Marcel

[web2py] Re: Problem starting cron job

2011-05-24 Thread Marcel Luethi
This is so embarrassing...! Sorry for the last post - I found the problem: I changed the name of the script slighly before the deployment to the server. Now it works perfectly. ;-) Have a nice day. Marcel On 24 Mai, 10:52, Marcel Luethi wrote: > Hi everybody! > > I'm trying t

[web2py] Problem starting cron job

2011-05-24 Thread Marcel Luethi
Hi everybody! I'm trying to start a cron job, which fails: 2011-05-24 10:40:00,517 - web2py.cron - WARNING - WEB2PY CRON Call returned code 1: web2py Enterprise Web Framework Created by Massimo Di Pierro, Copyright 2007-2011 Version 1.95.1 (2011-04-25 15:04:14) Database drivers available: SQLite3

[web2py] Re: A requested feature...

2011-05-09 Thread Marcel Luethi
As far as I understand their "hub" is only a front-end to Amazon's EC2: "Deploy in seconds 45+ free server apps to Amazon EC2". And it's free as well. From their web site: - Your TurnKey Hub account is free - Pay Amazon directly for the cloud resources you use - No setup, cancellation or monthly f

[web2py] Re: A requested feature...

2011-05-08 Thread Marcel Luethi
Not exactly a deployment solution - but TurnKey Linux (http:// www.turnkeylinux.org/) would be a good foundation for Amazon EC2. There's already a "TKLPatch for web2py framework" (http:// www.turnkeylinux.org/forum/general/20110107/tklpatch-web2py-framework) which Massimo created (http://www.turnke

[web2py] Re: "extra" arguments for Table and Field

2011-04-03 Thread Marcel Luethi
they must be preceded by and > underscore to avoid naming conflicts with fields: > > db.table._extra = {} > > Massimo > > On Apr 3, 10:51 am, Marcel Luethi wrote: > > > > > > > > > Hello. > > > I'm trying to implement common grid operati

[web2py] "extra" arguments for Table and Field

2011-04-03 Thread Marcel Luethi
Hello. I'm trying to implement common grid operations (with Ext JS, GridPanel) for all tables in my app. Now I would need some extra info on table and field levels as hints, ex. default sort order of a table, column width of a field. The easiest way would be to have a "extra" argument in gluon.da

[web2py] Re: MongoDB and Web2Py

2011-04-01 Thread Marcel Luethi
Despite a lot of time, I'd like to help as well. MongoDB looks promising. On 1 Apr., 04:58, Massimo Di Pierro wrote: > Lots of people asked for support but nobody volunteered to help test > it. > If you are interested and can help with some regular tests we can make > it work in relatively sho

[web2py] Re: odata

2011-04-01 Thread Marcel Luethi
Just skimmed over it. Looks very powerful and promising. If it's easy to implement with parse_as_rest it would be a great feature for web2py! There are still not many "consumers" (http://www.odata.org/consumers), but nevertheless it'd be worth IMHO. (Unfortunately no Python client library seems to

[web2py] Re: Validators for webservices?

2011-03-20 Thread Marcel Luethi
Hi Kevin Thanks for your input! This is a valuable solution. But I would still need to add all my already existing validators to SQLFORM.factory. Wouldn't I? Therefore I tried Massimo's solution first. Best regards, Marcel On 20 Mrz., 15:43, Kevin Ivarsen wrote: > Massimo's method may be be

[web2py] Re: Validators for webservices?

2011-03-20 Thread Marcel Luethi
able.id == id).update(**record) >            return dict(success=True) >     return locals() > > and call it with a PUT method at URL: > > /.../?field=value > > Massimo > > On Mar 20, 3:56 am, Marcel Luethi wrote: > > > > > > > > > Hi all &g

[web2py] Validators for webservices?

2011-03-20 Thread Marcel Luethi
Hi all I'm looking for a way to validate the record data I receive from a webservice. Because there is no form associated it seems that I cannot use SQLFORM and form.accepts(). Is there any other way to use the already defined validators to do the check? I'm searching for something like (unteste