it's port lte-2.4.15 to py4web
https://github.com/ali96343/lteadmin-py4web
четверг, 1 августа 2019 г., 10:48:02 UTC+3 пользователь Alex Beskopilny
написал:
>
> Hi!
> I put lte-2.4.15 to py4web and lte works with controllers.py :
>
> from py4web import action, request, abort, redirect, URL
>
On Monday, August 5, 2019 at 11:28:43 PM UTC-7, Константин Комков wrote:
>
> *Val K*, it is my table.py file:
> db.define_table(
> 'recipes',
> Field('NAME',length=512),
> Field('IMAGE','upload'),
> migrate=False
> )
> It's code in my default.py file:
> row =
On Tuesday, August 6, 2019 at 8:21:57 AM UTC-7, Kimus wrote:
>
> olha eu aqui dnv :)
>
> Estou com um problema eu insiro uma imagem no banco mas na hr de mostrar
> no HTML não consigo de jeito nem um, eu nãoi to usando o template do
> web2py então td pra mim é mais dificil alguem teria
I'm using web2py in python3.6. When running the app on the local machine,
everything is fine.
But when I compile and run it again, I get errors that a module does not
exist.
The module is not found in the compiled folder.
How do I solve this??
Regards
--
Resources:
- http://web2py.com
-
olha eu aqui dnv :)
Estou com um problema eu insiro uma imagem no banco mas na hr de mostrar no
HTML não consigo de jeito nem um, eu nãoi to usando o template do web2py
então td pra mim é mais dificil alguem teria algum jeito de fazer
OBS : eu coloquei um campo extra_field no auth_user
Hello
Is it possible to create a validator for form field that is a combination
of IS_IN_SET and a user write in? The field is of type string.
db.nalogi.n_company.requires = IS_IN_SET(['Canon', 'HP', 'Xerox',
'Lexmark', 'Brother', 'Konica/Minolta', 'Kyocera', 'Other'],
zero=('Select'))
Thank
*Val K*, it is my table.py file:
db.define_table(
'recipes',
Field('NAME',length=512),
Field('IMAGE','upload'),
migrate=False
)
It's code in my default.py file:
row = db().select(db.recipes.IMAGE).first()
image = str(dir(row))
>>>
['IMAGE', '__bool__', '__call__', '__class__',
7 matches
Mail list logo