[web2py] How many days does it take you to learn django if you know web2py (and only web2py)?

2016-03-20 Thread Bernard Letourmy
nd force to develop yourself most of the basic filter needed. Then quite a lot of won't fix issues or request for feature some repeatidely asked for 10years But I do quite like django also :) Bon courage for your learning Bernard -- Resources: - http://web2py.com - http://web2py.com/bo

Re: [web2py] DAL alternatives

2015-10-28 Thread Bernard Letourmy
ith web2py for this project? Thanks Bernard -- 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 Goo

[web2py] Re: Import error for guppy - Appadmin/cache error if guppy installed and ram cache in use

2015-06-04 Thread Bernard Letourmy
nt report about it in the group... Thanks for your help. Bernard stack trace follows Cannot import module 'applications.app.modules.guppy' Traceback (most recent call last): File "/var/gitwf/web2py/gluon/restricted.py", line 227, in restricted exec ccode in environment F

[web2py] Re: Deadlock in cache.py/CacheOnDisk in R 2.10.4

2015-05-12 Thread Bernard Letourmy
created issue #966 - and submitted pull request Bernard On Wednesday, 13 May 2015 07:25:25 UTC+8, Bernard Letourmy wrote: > > Ok will do > Bernard -- Resources: - http://web2py.com - http://web2py.com/book (Documentation) - http://github.com/web2py/web2py (Source code

[web2py] Re: Deadlock in cache.py/CacheOnDisk in R 2.10.4

2015-05-12 Thread Bernard Letourmy
Ok will do Bernard -- 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 "w

[web2py] Deadlock in cache.py/CacheOnDisk in R 2.10.4

2015-05-12 Thread Bernard Letourmy
not have the same issue as self.locker.release() is released before f()) The following patch solves the issue for us. Hope it could help Bernard > git diff -w R-2.10.4 cache.py > > *diff --git a/gluon/cache.py b/gluon/cache.py* > *index f94937d..9729e6b 100644* > *--- a/gluon/cac

[web2py] Re: Auth form custom errors

2014-08-29 Thread Bernard Nongpoh
Hello Web2py , I'm new to web2py can you please help me in this problem 1. I want to use angularJS +Bootstrap+ Web2py 2. I want to separate the web2py from the view ie. angularJS and Bootstrap 3. All Views Should be handle by angularJS + Bootstrap kind of RESTFUL SERVICES 4. This is the first prob

[web2py] Custom HTML form and process using web2py

2014-08-29 Thread Bernard Nongpoh
Example : I have a form called Login Login Email address Password Login Register I want to Process using web2py -- Resources: - http://web2py.com - http://web2py.com/book (Documentation) - http://github.c

[web2py] Re: PUT and DELETE not working in web2py?

2013-09-20 Thread Bernard Letourmy
Thanks for the fast answer. no standard there (according to wikipedia) ? I guess most restful web services would only use GET,POST,PUT and DELETE. (Maybe PATCH ?) OPTIONS verb is required by CORS only, as part of their access handshake protocol. But CORS could be used in other context for ex. fo

[web2py] Re: PUT and DELETE not working in web2py?

2013-09-19 Thread Bernard Letourmy
called" return db(db[table_name]._id==record_id).delete() def OPTIONS(*args,**vars): print "OPTION called" return True return dict(GET=GET, POST=POST, PUT=PUT, DELETE=DELETE, OPTIONS=OPTIONS) Any suggestion of how to do without patching we

Re: [web2py] Re: parse_as_rest date and time range?

2013-05-06 Thread Bernard
format string. see > http://web2py.com/books/default/chapter/29/07#Validators > > On 5/6/13 15:35 , Bernard wrote: > > Thanks Christian, > > > > I tried to escape it to %3A but that gave me an error invalid request. I > > couldn't figure out where it'

[web2py] Re: parse_as_rest date and time range?

2013-05-06 Thread Bernard
3 PM UTC-7, Christian Foster Howes wrote: > > can you url escape the : and have it work? > > if not, maybe use a different separator and change the string to timestamp > parsing to expect your format. > > cfh > > On Monday, May 6, 2013 1:42:40 PM UTC-7, Bernard wrote: >>

[web2py] parse_as_rest date and time range?

2013-05-06 Thread Bernard
g to the parse_as_rest() function by concating args 4 and 5 with the date in arg 3, to form the correct format ('-MM-YY hh:ss') that parse_as_rest() can use. Any help much appreciated. Regards, Bernard -- --- You received this message because you are subscribed to the Google

[web2py] Minimum period in web2py Scheduler

2013-02-07 Thread Bernard
every 15 seconds. 35 newtask COMPLETED 2013-02-07 20:48:10 2013-02-07 20:48:11 you passed ar... "done!" None Bernard-PC#5816 36 newtask COMPLETED 2013-02-07 20:48:26 2013-02-07 20:48:27 you passed ar... "done!" None Bernard-PC#5816 37 newtask COMPLETED 2013-02-07 20:48:39 201

[web2py] Re: Background M2M communication

2013-02-06 Thread Bernard
ram('socket',lambda address=(ip,port): > connect(address),3600) > mysocket.send('hello world') > > But mind that s.connect may block. > > On Wednesday, 6 February 2013 19:32:49 UTC-6, Bernard wrote: >> >> Is it possible to use cache.ram for a TCP

[web2py] Re: Background M2M communication

2013-02-06 Thread Bernard
Is it possible to use cache.ram for a TCP socket? In my setup, establishing a TCP connection to a remote machine is time consuming and I need to find a workaround to have snappier response to the Web UI. Any help appreciated. Thanks, Bernard On Monday, February 4, 2013 11:46:22 AM UTC-8

[web2py] Re: Background M2M communication

2013-02-04 Thread Bernard
many as the number of users trying to look at the realtime data). Thanks, Bernard On Monday, February 4, 2013 1:34:55 PM UTC-8, Derek wrote: > > Well, depends on the MFUs I guess. I would probably bypass web2py for this > and simply use a javascript based polling reader based on webso

[web2py] Background M2M communication

2013-02-04 Thread Bernard
sues or potential weaknesses in any of these approaches, your feedback would be greatly appreciated. Regards, Bernard -- --- You received this message because you are subscribed to the Google Groups "web2py-users" group. To unsubscribe from this group and stop receiving emails fr