I installed source version of web2py windows and that worked. I guess
windows binary doesn't have a path to python.exe
--
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py (Source code)
- https://code.google.com/p/web2py/issues/list
How to pip install psycopg2? I get the following error:
C:\Users\alex_\AppData\Local\Programs\Python\Python37>pip install psycopg2
'pip' is not recognized as an internal or external command,
operable program or batch file.
C:\Users\alex_\AppData\Local\Programs\Python\Python37>python
Python
errata.
Many **thanks** to Paolo Pastori for his many bugs fixes and patches.
:-)
On Sunday, 7 April 2019 22:02:22 UTC-7, Massimo Di Pierro wrote:
>
> Contains mostly bug fixes, backward compatibility fixes, internal rewrites.
> Many takes to Paolo Pastori for his many bugs fixes and patches.
>
Contains mostly bug fixes, backward compatibility fixes, internal rewrites.
Many takes to Paolo Pastori for his many bugs fixes and patches.
Massimo
--
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py (Source code)
-
Mind they are not equivalent.
s = storage(mw.ls == f).select(mw.iIdL).first()
fetches all records but filters the first at the python level. You want:
s = storage(mw.ls == f).select(mw.iIdL, limitby=(0,1)).first()
On Saturday, 6 April 2019 21:18:03 UTC-7, Metra Oknehcvark wrote:
>
> Hello ,
Can you provide an app as an example. Will make out debugging easier.
On Saturday, 6 April 2019 21:18:03 UTC-7, John Bannister wrote:
>
>
> Hi all,
>
> I have recently upgraded to python 3.6 from 2.7 running on Centos7 with
> apache. Problem I am having is as follows:-
> 1: I have a number of
Thanks Anthony. Already updated the Github issue and created a post in the
developers.
domingo, 7 de Abril de 2019 às 20:28:26 UTC+1, Anthony escreveu:
>
> Yes, as noted, that code inverts the sort order for date/time fields when
> the field is clicked, but there is no inversion when using the
Yes, as noted, that code inverts the sort order for date/time fields when
the field is clicked, but there is no inversion when using the orderby
argument. I'm not sure why the order is inverted for such fields. Maybe
bring it up in the developers group.
On Sunday, April 7, 2019 at 3:19:51 PM
I think I found the source of the problem.
After following the function in the previous message, I arrived at this
code inside the linsert function (line 2779) .
exception = sort_field.type in ('date', 'datetime', 'time')
if exception:
I think I found the problem (I don't have the solution).
In gluon\sqlhtml.py there is this function
def fix_orderby(orderby):
if not auto_pagination:
return orderby
# enforce always an ORDER clause to avoid
# pagination errors. field_id
Thank you for the feedback Anthony.
That was my thinking but I was hoping to be wrong.
Any idea where in the web2py code is the grid sorting? I would like to take
a look.
domingo, 7 de Abril de 2019 às 19:22:34 UTC+1, Anthony escreveu:
>
> On Saturday, April 6, 2019 at 3:41:50 PM UTC-4, João
On Saturday, April 6, 2019 at 3:41:50 PM UTC-4, João Matos wrote:
>
> Thanks Anthony. I will open an issue (I still haven't enough know how to
> make a PR). I hope some time in the future.
>
> I don't want to abuse your help, but I have another issue that is viewable
> with the minimal app I
Not sure what that means -- Massimo will have to reply. Once a module has
been loaded within a given Python process, it won't be repeatedly reloaded
-- see https://docs.python.org/3/reference/import.html#the-module-cache.
web2py model and controller files are executed on every request -- if
That was the word used by Massimo.
He stated
"In web2py we do not reload the modules. we reimport them at every request.
this causes a performance penalty and is only needed in development."
My question was if it is possible to disable module reimport at every
request in production or it just
On Sunday, April 7, 2019 at 1:33:22 PM UTC-4, João Matos wrote:
>
> @Anthony
>
> I was asking about reimport not reload.
> Does track_changes appy to both?
>
What do you mean by "reimport"?
Anthony
--
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
-
@Anthony
I was asking about reimport not reload.
Does track_changes appy to both?
domingo, 7 de Abril de 2019 às 18:30:24 UTC+1, Anthony escreveu:
>
> On Sunday, April 7, 2019 at 1:19:08 PM UTC-4, João Matos wrote:
>>
>> @Massimo
>>
>> You state
>> "In web2py we do not reload the modules. we
On Sunday, April 7, 2019 at 1:19:08 PM UTC-4, João Matos wrote:
>
> @Massimo
>
> You state
> "In web2py we do not reload the modules. we reimport them at every
> request. this causes a performance penalty and is only needed in
> development."
>
> Does this mean it is possible to disable module
@Massimo
You state
"In web2py we do not reload the modules. we reimport them at every request.
this causes a performance penalty and is only needed in development."
Does this mean it is possible to disable module reimport at every request
in web2py when in production (or did I misunderstood
fixed in master. Thanks for reporting and diagnosis.
--
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
I couldn't find the numbers that quickly, but key point is the bigger Flask
community and plugin availability. Also if people look for job for
companies that use python most of the time they look for Flask or Django
experience.
Web3Py build on Flask would also remove the questions for beginners
Thanks.
On Sat, 6 Apr 2019, 20:49 'Annet' via web2py-users
wrote:
> I think Bootstrap's float-right and float-left will solve this issue.
>
> https://getbootstrap.com/docs/4.1/utilities/float/
>
> --
> Resources:
> - http://web2py.com
> - http://web2py.com/book (Documentation)
> -
Congratulations William, this is great stuff.
Mostwanted
On Friday, April 5, 2019 at 6:44:56 PM UTC+2, William wrote:
>
> Just writing to thank Massimo and the Web2py community, for answering all
> my questions here and also building this awesome framework.
>
> I'm proud to say my application,
22 matches
Mail list logo