Maybe the otherwise param should appear in the cheatsheet:
@auth.requires_login(otherwise=URL(...))
--
It should
On Wednesday, 5 September 2012 09:57:30 UTC-5, rif wrote:
Maybe the otherwise param should appear in the cheatsheet:
@auth.requires_login(otherwise=URL(...))
--
Also the cast parameter. Are the sources for the cheatsheet available so we
can make patch suggestions?
-rif
miercuri, 5 septembrie 2012, 18:53:45 UTC+3, Massimo Di Pierro a scris:
It should
On Wednesday, 5 September 2012 09:57:30 UTC-5, rif wrote:
Maybe the otherwise param should appear
I will add the source to the web2py repo.
On Wednesday, 5 September 2012 11:04:02 UTC-5, rif wrote:
Also the cast parameter. Are the sources for the cheatsheet available so
we can make patch suggestions?
-rif
miercuri, 5 septembrie 2012, 18:53:45 UTC+3, Massimo Di Pierro a scris:
It
http://web2py.com/examples/static/web2py_cheatsheet.pdf
--
Small question..
cache.ram.clear(regex='*') will clear the whole cache?
--
regex is applied with match.
clear all the keys, i.e., match everything, is achieved with .* (for
the regex undergrads, . means anything, * means repeated = times).
In the code there is a special case for clear(regex=None): it will delete
all keys, without scanning all keys one by one and
So I assume cache.ram.clear() will do the job ?
--
Watching the code, yes.
PS: you can inspect with cache.ram.storage the actual dict cache.
On Tuesday, September 4, 2012 8:33:53 PM UTC+2, rochacbruno wrote:
So I assume cache.ram.clear() will do the job ?
--
9 matches
Mail list logo