Hi Dave
Firstly many thanks for your response.
When I reviewed the files in the new (or 're-born') compiled 'Welcome' app
*both* the view (*views.default.index.html.pyc*) AND its associated
controller (*controllers.default.index.pyc*) *correctly exist* in the
*'compiled'* folder. (Obviously
Hi Anthony
Many thanks for your response.
As I mentioned to Dave S above, I deliberately (and specifically) chose
this example of downloading the MacOs version (for Normal Users) directly
from the web2py website and compiling - and then reloading - the 'Welcome'
application to demonstrate the
this code forces to login when enter via browser or with pytest
@auth.requires(True, requires_login=not request.is_local)
Is this correct or is there other alternative?
regards
António
--
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py
Hello,
My web2py version:' 2.15.4-stable+timestamp.2017.09.02.04.02.22'
When I try reset password application raises exception:
'ascii' codec can't decode byte 0xc5
in position 9: ordinal not in range(128)
(...)
Function argument list
(obj=, charset='utf-8', errors='strict')
It looks the pro
migrated from 2.14 to 2.15.4
not sure if I can explain correctly but in 2.14, DAL took my upper case
table names, created lower case Postgres equivalents and could translate
between them.
Now I pack the exact same app in 2.14, and when Upload-and-install packed
application into 2.15, it no lon
OK, it's a bug. I have submitted a pull request to fix it:
https://github.com/web2py/web2py/pull/1763.
For now, "Pack compiled" will not work because compiled views will not be
executed in apps containing only compiled files. As a temporary workaround,
you can compile an app and then pack the w
Many thanks Anthony
I really do appreciate your input (and efforts) and thank you for
submitting a pull request to fix it.
Kind Regards
Ben
On 13 September 2017 at 16:58, Anthony wrote:
> OK, it's a bug. I have submitted a pull request to fix it:
> https://github.com/web2py/web2py/pull/1763.
Hi,
I suggest to replace all print command to python 3 compatible syntax: print
("blah blah")
I've seen this for the moment in anyserver.py
--
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py (Source code)
- https://code.google.com/p/web2
purpose is to keep a single renewable pseudo-random data sample live
the w2p books describes a situation of a constant query :
http://web2py.com/books/default/chapter/29/06/the-database-abstraction-layer?search=caching+selects#Caching-selects
def cache_db_select():
logs = db().select(db.lo
Hi folks
I want to get the total rows (count) of a query (get request) in a Restful
Web Services ( parse_as_rest ). Is it possible? Or I need to construct my
own custom method for this purpose?
I know I can limit the number of records by specifying a limit and offset GET
variables
http://
lower case with underscores is PEP 8 recommended so I'll rename all tables
and my question becomes moot
--
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)
---
Y
On Friday, September 1, 2017 at 4:07:33 PM UTC-7, Dave S wrote:
>
>
>
> On Thursday, August 31, 2017 at 3:05:56 PM UTC-7, Massimo Di Pierro wrote:
>>
>> Can you tell us more about your setup?
>>
>>
>
> AWS Linux, Python=2.7.12, web2py-shake-the-box: webp2y (2.14.6) + Rocket
> + Sqlite.
>
> Sin
On Wednesday, September 13, 2017 at 9:07:48 PM UTC-7, Alex Glaros wrote:
>
> lower case with underscores is PEP 8 recommended so I'll rename all tables
> and my question becomes moot
>
But is this post from the 2.15.0b1 thread relevant?
https://groups.google.com/d/msg/web2py/ooZKk5i8zew/g6CqzIf
trying to run 2.15.4 app in 2.14.6 machine return an error :
Traceback (most recent call last):
File "/home/test/web2py/gluon/main.py", line 445, in wsgibase
serve_controller(request, response, session)
File "/home/test/web2py/gluon/main.py", line 165, in serve_controller
environment =
14 matches
Mail list logo