Could you share your db.py ? Maybe there are declared 2 connections to db
and one might be overwriting the one who connects to postgresql.
Cheers.
Chris.
El El vie, 14 de may. de 2021 a la(s) 15:22, F.C.
escribió:
> I need some help. I have started web2py development with a passion to
>
I need some help. I have started web2py development with a passion to
really master it. I love python and really want to see if I can find some
excellent uses for writing online applications.
The weird problem I am running into is the following and I need some help.
I have an application
Seems to work after restarting the system
On Friday, May 14, 2021 at 3:49:41 PM UTC+3 Maurice Waka wrote:
> I have a small code with this:
>
> db.define_table('book',
> Field('name',requires = IS_NOT_EMPTY()),
> Field('category',
>
I have another problem with form.custom:
When I browse and select an image and submit the form, if the
form contains an error, the form empties the image field. So
the user has to browse for the image again
I don't know in which version of web2py this error was introduced,
but is very annoying
I have a view with the following code:
{{=form.custom.widget.image}}
The problem is that in the update form the image does not
display, which is very confusing to the user.
is there a way to fix this issue?
Kind regards,
Annet
--
Resources:
- http://web2py.com
-
I have a small code with this:
db.define_table('book',
Field('name',requires = IS_NOT_EMPTY()),
Field('category',
requires =
IS_IN_SET(['Politics','Finance','Fiction','Wellness']),
default =
6 matches
Mail list logo