[web2py] Re: web2py book now free in PDF

2012-06-13 Thread R. Osinga
Thanx!! On Tuesday, June 12, 2012 3:17:46 PM UTC+2, Massimo Di Pierro wrote: > > The official web2py book is now free for everybody: > > https://dl.dropbox.com/u/18065445/web2py/web2py_manual_4th.1.pdf > > Massimo >

[web2py] Dutch pluralization

2013-03-11 Thread R. Osinga
Hi devs, Since there os nu dutch pluralization in web2py yet and the admin page shows this kinda like a problem, I wanted to give you feeback on it. Just copy the German *de.py* to *nl.py* and replace # Plural-Forms for de (Deutsch) nplurals=2 # German language has 2 forms: # 1 sing

[web2py] background operations on upload-field

2011-09-15 Thread R. Osinga
Hi all, I have a web2py application that manages deployment of jee applications to different servers. These processes can sometimes take a lot of time, and therefore I chose to work with background processes. Everting's fine thusfar. Now I want to archive the ear-file that was sent to the test-ser

[web2py] Re: background operations on upload-field

2011-09-15 Thread R. Osinga
Correction: the snippet is wanted to type was: filename = 'c:\\whatever.ear' #this is dependent of the application being deployed db.t_deployment.insert(server='test', earfile=filename) On 15 sep, 14:49, "R. Osinga" wrote: > Hi all, > > I have a web2py

[web2py] Re: background operations on upload-field

2011-09-16 Thread R. Osinga
Ow Thanx, I can generate a filename fgrom a guid-probably and use this technique to 'upload' it to the database. Looks very easy indeed :-D On 15 sep, 23:22, pbreit wrote: > Not exactly what you are looking for but might give you some ideas. I use > this to create thumbnails of the uploaded image

[web2py] using field(format=) with json

2013-06-14 Thread R. Osinga
Hi all, I'm creating a rest interface and I'd like to do something like: URL: /pets/default/api/pets RESULT: [ {name: 'Ramo', animal: 'dog', owner: 'http://server:port/pets/default/api/owners/15'} ] but instead it keeps returning in the format of [ {name: 'Ramo', animal: 'dog', owner: 15} ] I'm

[web2py] Re: using field(format=) with json

2013-06-14 Thread R. Osinga
On Friday, June 14, 2013 12:40:32 PM UTC+2, R. Osinga wrote: > > Hi all, > > I'm creating a rest interface and I'd like to do something like: > > URL: /pets/default/api/pets > RESULT: [ > {name: 'Ramo', > animal: 'dog', > owner: 'h

[web2py] Re: using field(format=) with json

2013-06-14 Thread R. Osinga
riday, June 14, 2013 12:40:32 PM UTC+2, R. Osinga wrote: > > Hi all, > > I'm creating a rest interface and I'd like to do something like: > > URL: /pets/default/api/pets > RESULT: [ > {name: 'Ramo', > animal: 'dog', > owner: 'http:/

[web2py] Re: using field(format=) with json

2013-06-14 Thread R. Osinga
hmmm, rather not. I'm looking for a generic solution. Well, nevermind then. It's not that big of an issue. The code calling my services, knows the url pattern anyway.:-) On Friday, June 14, 2013 12:40:32 PM UTC+2, R. Osinga wrote: > > Hi all, > > I'm creating a rest i

[web2py] Problem with migrate

2013-11-19 Thread R. Osinga
Hi all, I have a series of tables declared, but one table does not get created automatically. This table is new, in the current version of my software and I expect it to be created automatically. Unfotunatelly, it does not. I checked that *settings.migrate=True* and even replaced the *migrate=s

[web2py] Re: Problem with migrate

2013-11-20 Thread R. Osinga
more prblematic - it is a production server. It doesn't happen in my test environment. On Tuesday, November 19, 2013 2:46:47 PM UTC+1, Anthony wrote: > > Do you happen to have DAL(..., migrate_enabled=False)? Is your app > compiled? > > On Tuesday, November 19, 2013 7:57:39 AM U

[web2py] Reading view templates from database

2016-02-25 Thread R. Osinga
Hi all, I like to offer end users a way to define their ow mail templates. I tried using the standard templating mechanism for it, but it only accepts files from fixk. Is it possible for me to 'bend' this functionality into reading a templace (and its parent tamplates) from the database? Cheers

[web2py] Re: Reading view templates from database

2016-02-25 Thread R. Osinga
I already found my anser in the history of the forum On Thursday, February 25, 2016 at 12:05:56 PM UTC+1, R. Osinga wrote: > > Hi all, > > I like to offer end users a way to define their ow mail templates. > I tried using the standard templating mechanism for it, but it only