Just for the record, because it's not clear from this thread, the Python
3,8 problem seems to have been taken care of. I've been running web2py on
Python 3.8 for the last couple of weeks at least and never noticed a
problem.
On Sunday, January 3, 2021 at 2:26:52 PM UTC-6 jimka...@yahoo.com wr
And whatever "lucky food" you ate LAST year on New Year's -- DON'T TOUCH
THAT STUFF!! It didn't work.
-- Joe
On Thursday, December 31, 2020 at 4:33:09 PM UTC-6 snide...@gmail.com wrote:
> On Thursday, December 31, 2020 at 11:37:24 AM UTC-8 Massimo Di Pierro
>
else:*
* rtn = None*
Does anyone know how to make code blocks in this new stupid Google Groups
window? Sheesh. One step sideways and three steps back.
-- Joe
On Wednesday, September 11, 2019 at 12:11:13 AM UTC-5 Massimo Di Pierro
wrote:
> :-)
>
>
> On Mo
Jose C wrote:
> I have it working with python3 but only as far as web2py 2.18.5.
> Thereafter I cannot get it to work either.
>
> Unfortunately it does begin to appear that web2py has reached end of life
> status.
>
> On Friday, 13 November 2020 at 03:13:18 UTC Joe Barn
I know this is really old news, but redis no longer works under python 3
and web2py. I'm just thinking it's time to take out all mention of redis
from the book and list of features of web2py. Yes, it technically works
with python 2, but since that platform is now dropped in the wake of the
go
I'm using LOAD functionality to break my webpage into bite-sized "cards" or
"widgets" each of which is loaded separately when the page is called. My
overall website looks much like a "dashboard" with several of these widgets
on a single page.
I'm trying to understand the LOAD process and how I
FWIW there's nothing stopping you from using peewee inside web2py instead
of DAL, if you desire. It's kind of an advanced topic, but it's possible.
I notice peewee relies on cascaded message sends. Being an old
Smalltalker I actually like cascaded message sends, but I recall that pypy
really
Doesn't this have an unfortunate negative effect on "compiled" views? To
be compiled, everything about the view needs to be known ahead of time and
your dynamic use of templates seems to defeat that. I suspect when you
choose to "compile" the application from the web2py admin interface, these
Having more than one group with the same permissions is no problem at all.
In fact, it's kind of the purpose of role-based authentication.
I have a web site that features different classes of users who need access
to pages. Some groups can access every single page in the site (e.g.
'root' use
Yep. I just confirmed the errant behavior with web2py 2.20.4 and python
3.8.2. If reds sessions are enabled the logon never completes.
-- Joe B.
On Sunday, March 29, 2020 at 11:39:10 PM UTC-5, Massimo Di Pierro wrote:
>
> Sorry. We should fix this. Will look into it asap.
>
> O
ROFL! I don't think it's quite ready for my prime-time cash-producing
website yet. I'll definitely keep an eye on it and start playing around
with it. I need to keep you from making any decisions I don't like, after
all!
-- Joe
On Monday, September 9, 2019 at 8:48:54
o create a test bench for this.
If someone else has a Python2/redis site already they may be able to test
it quicker.
-- Joe
On Monday, September 9, 2019 at 3:00:50 PM UTC-7, Jim S wrote:
>
> Is it backward compatible as well?
>
> -Jim
>
> On Mon, Sep 9, 2019 at 4:54 PM Joe
YES. This seems to work fine in my case. It permits me to save both
sessions and cache data to redis using Python3. Maybe we can get it
accepted and blessed for the next release.
Joe
On Monday, September 9, 2019 at 1:03:51 PM UTC-7, rastafarien wrote:
>
> Hello
>
> I have als
at really sucks
for a larger deployment.
-- Joe
On Monday, April 1, 2019 at 11:31:10 PM UTC-7, Massimo Di Pierro wrote:
>
> we could change True/False with 1/0 but a better approach would be to
> remove the value within the redis adapter. The value of locked does not do
> anything
l-case redis.
But maybe that would encourage people to complain that the implementation
of the redis DAL dialect is too deficient. Putting it in DAL would raise
people's expectations of what it can handle.
-- Joe
On Sunday, March 31, 2019 at 10:19:20 AM UTC-7, Jim S wrote:
>
> I chang
"on", but not Expression)
I should come up with a simpler example. This one was just grabbed
directly out of my site so I knew it worked but i's too complex to just
show the concept.
-- Joe
On Wednesday, February 13, 2019 at 11:22:46 AM UTC-8, Skiros wrote:
>
> Hello !
> V
se I'm always using it to get
to Fields and other table-related items.
So, to reiterate, the "on" function is in the Table, not Expression.
-- Joe
On Wednesday, February 13, 2019 at 11:22:46 AM UTC-8, Skiros wrote:
>
> Hello !
> Very interesting !!!
>
> I'm t
scant way as I wasn't
planning to become a redis expert. Sessions in redis could be important to
me, tho, so I may need to set aside some time to dig into it. (Storing
sessions in cookies has been problematic due to the limited space for
cookies in browsers.)
-- Joe
On Wednesday, March 27
ning Python 2 and the code fails, copy and paste the actual
error message you get and we'll puzzle it out.
Warm regards,
Joe
On Friday, March 29, 2019 at 7:32:52 AM UTC-7, Al Hart wrote:
>
> Hi Joe,
>
> Thanks so much for responding. Let me be more specific. I was referring to
ter way to
minimize/abstract and provide a growth path.
Plus, with py3 and web2py in hand, its not like there's a fire that needs
putting out.
-- Joe
On Thursday, March 28, 2019 at 2:16:15 AM UTC-7, Massimo Di Pierro wrote:
>
> I know this comes up once in a while but ...
>
>
Hi Al --
First off, welcome to the web2py group. Next, it's not clear from your
message just what the question is. If you can elaborate on (a) what you
did, (b) what you expected, and (c) what you got, I'm sure someone here can
help
Warm regards,
Joe B.
On Thursday, March 28, 20
keys) but I AM using numerous bools as
VALUES in dictionaries.
Do you think there is some kind of workaround to convert bools to strings
for the purpose of storing sessions in Redis?
Warm regards,
Joe
On Sunday, March 24, 2019 at 11:45:07 AM UTC-7, Massimo Di Pierro wrote:
>
> Hello Joe
feature of redis I'm wondering how it seemed to work before. It's been
awhile since I used it, but I swear it worked before. Didn't it? Maybe I
dreamed it.
-- Joe
Message:
1.
2.
3.
4.
5.
6.
7.
8.
9.
10.
11.
12.
13.
14.
15.
16.
17.
18.
19.
20.
21.
22.
23.
24.
25.
26.
27.
28.
Tr
can see, it can be accessed as the attribute _format on any table.
-- Joe
On Tuesday, October 23, 2018 at 5:53:01 AM UTC-7, Shawn Michaels wrote:
>
>
> Hi, I have this minimal example:
>
> db.define_table('entry_type',
> Field('label'),
> format=
able to ignore the amount
of session data all these years with web2py. It made my session fat and
lazy!
-- Joe
On Thursday, September 27, 2018 at 3:51:37 PM UTC-7, Anthony wrote:
>
> You'll be limited to 4KB (post-encryption). I suppose a reasonable
> alternative would be to us
Yep.
I'm pretty sure 'fields' is a list so it doesn't need function parentheses.
And since "my_table" and "db['my_table']" are the same:
for f in my_table.fields:
my_table[f].writable=True
Same thing, but sweetened with syntactic sugar.
What Anthony said. Only sessions rarely log out. They mostly time out,
which does not show up as an event.
Joe
On Wednesday, September 26, 2018 at 12:13:25 PM UTC-7, mostwanted wrote:
>
> Hi guys, i was wondering if there is a way for me to capture user login
> time and user lo
ticed there's a LOT of stuff in the session, and I
wonder if the size of the cookie might be causing its truncation?
What are the practical limits of using browser cookies to hold session
data, and are there workaround for large-ish sessions?
Joe
--
Resources:
- http://web2py.com
- http:
$.ajax({
data: {a:2, b:3},
url: "{{=URL('loadAdditonalInfo')}}",
success: my_success_fcn(ret)
)};
Something like this, from memory...
You can get more details at the jQuery website. It has excellent docs.
Joe
On Tuesday, September 4, 2018 at 6:23:03 AM UTC-7, Кон
That would create some
difficulty for me unless I have good workarounds.
Joe
On Sunday, September 2, 2018 at 11:08:50 AM UTC-7, Massimo Di Pierro wrote:
>
> We you may know web2py has the ability to store table metadata in DB:
>
> from gluon.dal import InDBMigrator
> db =
edit the hidden field value directly and my new value is rendered when the
xml method is called to build the view.
form.attributes['hidden']['a'] = 'new value'
-- Joe
On Monday, August 27, 2018 at 6:39:50 AM UTC-7, Anthony wrote:
>
> From the book:
>
dict(a='b')
. . .
if form.validate():
. . .
elif form.errors:
form.var.a = 'c'
What am I missing? Are hidden fields dumb, one-way-trip only fields? Are
they not modifiable along with the other fields?
-- Joe
--
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
just the unfortunate collision of design
choices to limit the usefulness of "elements" in this one corner case. The
red flash isn't that bad. I'll just say I'm doing it deliberately to get
the user's attention.
"A feature is a bug as described by Marketi
enclosing DIVs to be
class "warning" also. I'd provide different CSS for the yellow background.
Just thinking out loud here.
On Wednesday, August 22, 2018 at 3:31:14 PM UTC-7, Joe Barnhart wrote:
>
> I'm looking to add "warnings" to forms using (/hijackin
So "session" stuff gets pickled and unpicked which makes sense that dates
might come back as strings. What puzzles me is that it "used to work" so
did pickled date objects used to come back as date objects again? That
would seem like a much bigger change than just this
ds and such
would want to add the original INPUT and not my subclassed version, leading
to more fun and hilarity.
Any simple ideas from the web2py blackbelts? I'm a brownbelt and can
probably implement it if you give me a hint.
-- Joe
P.S. An example of a warning would be if a user fills
t off, store "session" data on the user's web client by putting
session data directly in the cookie. Then configure DAL to store the
"metadata" (i.e. "*.table" files) in the database itself, as shown below...
If I got it wrong, please let me know.
-- Joe
On Su
Yes, I agree. This needs to be REMOVED FROM THE BOOK. I've just wasted
most of a day before realizing memcache is useless for sessions.
-- Joe
On Friday, January 18, 2013 at 1:03:01 AM UTC-8, Paolo wrote:
>
> Hi all, I have just tried the solution proposed on the issue but it doe
ns import defaultdict
rtn = list()
cols = [(f.tablename,f.name) for f in fields]
for row in rows:
d = defaultdict(dict)
for r,v in zip(cols,row):
d[c[0]][c[1]] = r
rtn.append(d)
return rtn
I'm pleased to get re
al to cache because their data is (a) relatively large (~50k), (b)
relatively costly to get (~300ms), and (c) unchanging for all time and all
users. They depend only on the supplied vars for uniqueness. When I cache
them the app really pops!
-- Joe
On Wednesday, August 1, 2018 at 11:28:39 A
g.__name__ = f.__name__
return g
return decorator
On Wednesday, August 1, 2018 at 12:50:12 AM UTC-7, Joe Barnhart wrote:
>
> Oops, I meant of course;
>
> current.cache.action
>
> instead of
>
> current.cache
>
>
>
>
> On Wednesday, Au
Oops, I meant of course;
current.cache.action
instead of
current.cache
On Wednesday, August 1, 2018 at 12:48:00 AM UTC-7, Joe Barnhart wrote:
>
> You're a fountain of ideas! I missed that one in the book.
>
> I wonder if this would work. Off to go try it...
>
> def
model, prefix,
session, vars,
lang, user_agent, public, valid_statuses, quick)(f)(*c, **d)
g.__name__ = f.__name__
return g
return decorator
On Tuesday, July 31, 2018 at 11:25:10 AM UTC-7, Anthony wrote:
>
> On Tuesday, July 31, 2018 at 1:57:46 AM
ing for trouble? Is there anything I should watch
for?
-- Joe
--
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 ar
return tb
Kind of ugly but it has the advantage that it does what I want. Won't win
any contest for prettiness, tho.
-- Joe
On Monday, July 30, 2018 at 12:13:42 PM UTC-7, Anthony wrote:
>
> The particular code being pickled, if it matters, looks like this:
>>>
>>&g
is a unicode string'
The default json encoder keeps the "u" making the string unreadable to the
web page.
I can smash everything with str() before encoding to get rid of the unicode
flag but it's tedious.
-- Joe
--
Resources:
- http://web2py.com
- http://web2py.com/book (D
I'm using cache.action with cache_model=cache.disk to play with
optimization of my site. To be sure, this page has a lot going on --
complicated menus using "button" objects among the issues. But I don't
have any circular references, at least as far as I can tell. Still, I get
the error:
Tr
I’d get rid of the idiom:
db.colname==“%s”%pythonvar
Just replace it with:
db.colname==pythonvar
— Joe
--
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
Thank you for pulling back some of the mystery surrounding the scheduler
for me. The module import idea is fabulous and will completely solve my
problem!
--
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py (Source code)
- https://code.go
xxx'
not found in scheduler's environment" even though I specifically test to
make sure it is visible when invoking web2py -M -S app/controller/x
How do I scale this up without needing 100 stub functions in a model file
along with the scheduler?
-- Joe
--
Resources:
- http://
their best
swimmers to get access before their worst -- the idea is easily extended to
any level of granularity down to individual swimmers if necessary.
-- Joe
On Monday, June 11, 2018 at 11:30:30 AM UTC-7, Richard wrote:
>
> Hello Joe,
>
> I am not using the scheduler primarilly becau
scheduler. Believe it or not, on the old site this is all manual
operation. There are swim meet hosts who stay up until midnight to control
their meet's visibility now.
-- Joe
On Monday, June 11, 2018 at 8:16:04 AM UTC-7, Anthony wrote:
>
> I suppose that should be fine. Tasks are sto
cheduler? Reliability is of high importance in my site, so design
that decreases reliability is to be avoided.
-- Joe
--
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
Thanks, but in the typical application structure, where would you place
these function invocations? In my case, am working on an existing
application instance, and want to easily add a new user into the db, if
possible, merely overriding the password of an existing account with a new
one. Just
f it was a "str" and failed because it was "unicode".
Anyway, the workaround is to use "str()" on any fields that are critical.
Longer term, it may be useful for the maintainer of AppConfig to return
strings instead of unicode from JSON format files.
-- Joe
--
ip", _class='zipcode form-control')
)
Finally, when I use the field generators in any table definitions, I can
further customize them and the changes are passed through.
define_table('joes_table',
. . .
date_field("birth", label=T("Birth date"
11.13.23.50.07
Just curious...
-- Joe
--
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 G
Actually you don’t want to show the correct number of characters. That gives an
attacker a lot of information.
--
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
Thanks Leonel, what is the best way to fix this problem? I am on
Pythonanywhere, I am not sure about what I should do at this point.
On Wednesday, February 21, 2018 at 11:31:46 PM UTC+8, Leonel Câmara wrote:
>
> From the point of view of web2py if you had migrations enabled what
> happened was t
rom uppercase to lowercase and the
form is no longer processing anything.
I changed it back, reloaded the app I tried everything but it's not
processing the Form.
I would appreciate some help with this.
Thanks.
Cheers,
Joe
--
Resources:
- http://web2py.com
- http://web2py.com/book (Docume
/home/username/web2py/applications
So, that's how I end up with this problem:
/home/username/web2py/applications/new_directory/applications/init
On Thursday, November 2, 2017 at 11:20:41 PM UTC+8, Anthony wrote:
>
> On Thursday, November 2, 2017 at 5:54:41 AM UTC-4, Joe
In pythonanywhere you have to create a folder first before you install the
app.
So you mean, it should be* /web2py/applications/my_app_directory/init*
On Thursday, November 2, 2017 at 10:05:13 AM UTC+8, Anthony wrote:
>
> In any case, can you advise me on how to fix this problem? My directory
>>
ke on
pythonanywhere?
Thanks again for all your help with this.
Cheers,
Joe
On Sunday, October 15, 2017 at 10:07:51 PM UTC+8, Anthony wrote:
>
> On Friday, October 13, 2017 at 7:22:42 PM UTC-4, Joe wrote:
>>
>> Hi Dave, I have reloaded the apps in web2py if that's what you mean. I
account. I mean setting up everything again. I hope not.
Please let me know your thoughts.
Thanks again.
Cheers,
Joe
On Tuesday, October 24, 2017 at 1:27:22 PM UTC+8, Dave S wrote:
>
>
>
> On Monday, October 23, 2017 at 8:00:29 PM UTC-7, Joe wrote:
>>
>> Hi Anthony,
&g
Web* tab to *Reload
www.myapp.com*. And, nothing changed.
I would love to resolve this, and find out what's wrong.
Thanks again for all your help.
Cheers,
Joe
On Sunday, October 15, 2017 at 10:07:51 PM UTC+8, Anthony wrote:
>
> On Friday, October 13, 2017 at 7:22:42 PM UTC-4
er the URL will still have to be
*mysite.com/init/static/robots.txt* to reach it- this is the issue I am
trying to solve - I am trying have *mysite.com/robots.txt*
On Saturday, October 14, 2017 at 2:35:11 AM UTC+8, Dave S wrote:
>
>
>
> On Friday, October 13, 2017 at 2:12:13 AM UTC-7, J
'index', 'user']
> )
> )
>
> Also, note that as long as you are going to use the rewrite system as
> above, there is no particular reason to name your app "init". The only
> reason to use "init" is if you are not using the rewrite sys
t controller if you want /default/index to be
> gone when there are any request.args.
>
> How are your URLs being generated? What happens if you just go to
> http://yourdomain.com?
>
> Anthony
>
> On Sunday, September 17, 2017 at 9:24:31 AM UTC-4, Joe wrote:
>>
&
Yes, I reloaded the app. Nothing happens, it doesn't change the URL.
I tried several different ways to change the routes.py.
In the current situation in the *web2py* folder I have this in the*
routes.py* file:
routers = dict(
BASE = dict(default_application='init'),
)
Then, in the *web2py/
BASE = dict(default_application='myapp'),)
I must be missing something.
Joe
On Friday, September 15, 2017 at 9:45:19 PM UTC+8, Anthony wrote:
>
> See
> http://web2py.com/books/default/chapter/29/04/the-core#Parameter-based-system.
>
> In routes.py, something like:
I've been trying to do this for so long, but with *pythonanywhere* hosting,
it doesn't seem to be possible to get rid of the *init/default/* part of
the URL.
I think, this nested sub-directories structure is not optimal for SEO and
also makes it difficult to place the *robot,txt* and *sitmap.xm
Thank you for your help, Anthony.
-- Joe
--
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
("scm_gt",label=XML(T("SCM %s",(">",,
elapsed_time_field("scm_le",label=XML(T("SCM %s",("≤",)))),
elapsed_time_field("scy_gt",label=XML(T("SCY %s",(">",,
elapsed_time_field("scy_le",label=X
&xx; character escapes get printed literally in the
form label instead of creating the symbol I intended. So I got around the
problem with CAT(). Still, an awful amount of work and hassle to
reverse-engineer and make a work around for something that just should have
worked.
I'm not sur
sanitization. When it goes wrong, it goes very wrong. And you need to
spend hours with the source trying to figure out where it went wrong and if
there's an easy fix without modifying the distro.
-- Joe
--
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://gith
Ugh. Replace the word "title" with "label" everywhere. Global search and
replace.
--
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 mes
t;SCM >")),
elapsed_time_field("scm_le",label=T("SCM ≤")),
elapsed_time_field("scy_gt",label=T("SCY >")),
elapsed_time_field("scy_le",label=T("SCY ≤")),
Field("nt_ok", "boolean", label
Yes. I just tested with 2.15.2 and all works perfectly as expected.
-- Joe
On Thursday, July 20, 2017 at 2:58:08 PM UTC-7, Massimo Di Pierro wrote:
>
> Can you confirm all is good now with 2.15.2?
> Thanks to you and Leonel for looking into this so quickly.
>
> On Sunday, 16 Jul
ather that indoor programming jobs would be highly
preferred...
-- Joe
On Monday, July 17, 2017 at 8:45:36 AM UTC-7, Alex Glaros wrote:
>
> who else lives around Sacramento besides Joe?
>
> You're invited for dinner and talk some weekend at my house in Winters, CA
> (near Davis
Yes that fix looks exactly on point.
-- Joe
On Sunday, July 16, 2017 at 3:28:22 PM UTC-7, Leonel Câmara wrote:
>
> Joe the fix on the DAL wasn't for your problem, Your problem was fixed in
> web2py here:
>
> https://github.com/web2py/web2
You are correct. By using the SQLFORM.factory function the table was,
indeed, different. I blame the lapse on the inability of neurons to
function in the 106 degree heat we're having in the Sacramento area today.
-- Joe
On Sunday, July 16, 2017 at 2:53:10 PM UTC-7, Anthony wrote:
&g
I think I tried your fix but it didn't work. None of my fields were "common".
Massimo had pointed out the fix on Github.
--
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py (Source code)
- https://code.google.com/p/web2py/issues/list (Re
Found the issue and a workaround see below.
--
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 th
d=False,
title=H4("Editing Event Settings", _class="center”))
. . .
Cloning the fields before using them in SQLFORM.factory avoids the error.
-- Joe
On Sunday, July 16, 2017 at 10:15:18 AM UTC-7, Leonel Câmara wrote:
>
> Joe can you show us some code? I
;ll never be able to use 2.15.1 or
later versions. I'm weeks away from deploying the biggest site I've ever
done. As of this second, my best short-term option is to revert to the
previous version of web2py and finish. But that has severe long-term
repercussions if I can't upd
As long as we're adding interesting but obscure and little-used web
platforms, I'd like to submit Seaside, the Smalltalk web platform.
Just... well... because Smalltalk!
-- Joe
--
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web
But Grails borrowed heavily from Rails. And you, Massimo, mentioned that
Rails also provided some "inspiration" for web2py
So by the commutative property of web platforms, web2py and Grails share
some family similarities.
-- Joe
On Thursday, July 13, 2017 at 10:05:54 AM UTC-7,
essing this is the binding in the driver immediately before a query.)
Why can this binding only happen once? Is it happening because I do the
heavy lifting in modules instead of controllers? I often use the same
tables more than once in a function, so this could be problematic (read:
fatal) in my ad
join). Which
table would you "default" the order-by clause to?
-- Joe
On Friday, June 30, 2017 at 3:53:17 PM UTC-7, lyn2py wrote:
>
> I ran my app on *sqlite* and things are working well, so I ported it over
> to *postgresql*... however I noticed one glaring difference
x27;ll be. And clever caching
and other techniques can fix just about anything.
-- Joe
On Sunday, June 25, 2017 at 12:10:56 PM UTC-7, Ron Chatterjee wrote:
>
> Ok. I buy that.
>
> Speed is always a plus.
>
> Whats are the calls to run web2py with pypy? Can you share a link or a
ngle "magic bullet" which just speeds up all web2py websites for
all occasions.
-- Joe
On Sunday, June 18, 2017 at 3:27:19 PM UTC-7, Ron Chatterjee wrote:
>
> Have anyone tried this? Wondering if this is a way to gain some speed.
>
>
> https://micropyramid.com/
No.
On Sunday, May 28, 2017 at 8:50:15 AM UTC-7, Ron Chatterjee wrote:
>
> I understand that. No one is disputing better coding better performance.
> But the question is:
>
> Cython wrapper (
>
> Default. Py
>
> )
> Is it possible. If so how?
>
>
--
Resources:
- http://web2py.com
- http://web
s the direct parent, it does not check up the "tree". And all of the
helpers are subclasses of DIV, which itself is a subclass of XmlComponent.
Just askin'...
On Friday, May 26, 2017 at 12:05:25 PM UTC-7, Joe Barnhart wrote:
>
> I dunno how this affects me and not everyone else
ce of 110 and it returns 110L
every time. Javascript responds with "SyntaxError: No identifiers allowed
directly after numeric literal" every time.
Where am I going wrong?
-- Joe
--
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py
oblem, you
carefully profile the system to find out exactly where the problem lies. Then
you determine the best way to fix the problem.
I'll give you a peek in the back of the book -- born from 40+ years of
programming experience. The problem is never where you thought it would be.
-- Joe
"Invalidate".was supposed to be "onvalidation" before autospell worked its
wonder...
--
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 me
he logic in the "validate" and
"accept" functions effectively block that.
So just swap the lines and the manual is back to being perfect!
-- Joe
--
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py (Source code)
- https:/
who cut his teeth on
cvs.
-- Joe
On Tuesday, May 9, 2017 at 7:35:08 AM UTC-7, Anthony wrote:
>
> Good point. Maybe submit a PR to the book repo.
>
> On Monday, May 8, 2017 at 5:07:01 PM UTC-4, Joe Barnhart wrote:
>>
>> In the section about SQLFORM, the description of h
etting the "requires=None" for the three
reference fields.
-- Joe
On Tuesday, May 9, 2017 at 7:34:15 AM UTC-7, Anthony wrote:
>
> id fields do not get any validators by default, and if they did, it
> certainly would not be an IS_IN_DB validator (if anything, it would be
>
first test, but "or" requires both arguments be
evaluated if the first test fails, so it goes on to the second test, which
gives an exception.
I'm not sure how this ever worked, but I'm sure it did at one point. Maybe
there was a regression. This was done in web2py 2.14
1 - 100 of 811 matches
Mail list logo