" class=""> class="">B type="text" id="none_b" name="b" class=""/> class=""> value="Submit"/> value="none"/>
>
> BULMA STYLE
>
> >>> from py4web.utils.form import FormStyleB
Some testing done, I don't know the side efects, but with this changes to
py4web/utils/*form.py* things work munch better (as per date/time/password
widgets):
elif field.type == "text":
*# *control = TEXTAREA(value or "", _id=input_id,
_name=field.name)<--- MODIFI
in an automatic manner.
> working on it.
>
> On Tuesday, 24 December 2019 14:21:28 UTC+1, JSalvat wrote:
>>
>> Very simple Form and Grid sample to show some errors:
>>
>> In Grid: decimal field does not show / allow input.
>>
>> In Form: date and time
Hi Massimo, still getting errors:
c:\wwwroot\py4web>python -m pip install -r requirements.txt --user
Successfully installed pydal-20191227.1
c:\wwwroot\py4web>python ./py4web-start.py apps
.
Is still experimental...
Dashboard is at: http://127.0.0.1:8000/_dashboard
[ ] loading e
May need to add *celery *to requirements ?
--
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
db, Field
File "apps\_scaffold\common.py", line 102, in
from celery import Celery
ModuleNotFoundError: No module named 'celery'
Bottle v0.12.18 server starting up (using WSGIRefServer())...
Listening on http://127.0.0.1:8000/
Hit Ctrl-C to quit.
El jueves, 26 de diciemb
Just installed from source but does not start:
unzipped source to c:\wwwroot\py4web
c:\wwwroot\py4web>python -m pip install -r requirements.txt --user
c:\wwwroot\py4web>python ./py4web-start.py apps
.
Is still experimental...
Traceback (most recent call last):
File "./py4web-start.py", lin
Very simple Form and Grid sample to show some errors:
In Grid: decimal field does not show / allow input.
In Form: date and time widgets not working
Mainly copied from examples, Showing what was modified:
models.py
import os
from py4web import DAL, Field
from pydal.validators import *
# defi
Wish Merry Christmas and great New Year to Massimo and the rest of the
contributors that deploy py4web!
Looks like py4web is close to be a stable framework on which many of us
will count for our future new projects.
At this stage, I suggest to open a separate new py4web-users group to start
20
What about "webtopy"
--
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 Groups
"web2py-us
Not working for me on windows10
c:\wwwroot\web3py>python web3py-start apps
___ __ __
| / / / / __ |/___ \/ __ \ \/ /
| | / / /_ / /_/ /___/ / /_/ /\ /
| | /| / / __/ / __ //__ / / / /
| |/ |/ / /___/ /_/ /___/ / / / /
|___/|_/_/_/__
Hi all,
I'm getting An error occurred, please reload the page
when using the search feature in edit application. It used to work on
previus releases!
--
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py (Source code)
- https://code.g
Hi, How can this be done using SQLFORM.grid ?
def groupgrid():
cant = db.emitida.id.count()
suma = db.emitida.total.sum()
rows =
db(db.emitida.numero.startswith('18')).select(db.emitida.empresa, cant,
suma, orderby=db.emitida.empresa, groupby=db.emitida.empresa)
head = {'emit
ined or later:
>
> Field('cantidad', widget=lambda f, v: SQLFORM.widgets.string.widget(f, v,
> _class='col-sm-3', _maxlength=8))
>
> Anthony
>
> On Wednesday, July 4, 2018 at 6:31:50 AM UTC-4, JSalvat wrote:
>>
>> Hi,
>>
>> How to c
0:12:58 AM UTC-4, JSalvat wrote:
>>
>> Hi Pierre, how did you solve this ?
>>
>> ondelete='SET NULL' on sqlite is not working, it deletes all records
>> on the child table associated with the deleted record on the father table
>> instead of seting
_class='col-sm-3', _maxlength=8))
>
> Anthony
>
> On Wednesday, July 4, 2018 at 6:31:50 AM UTC-4, JSalvat wrote:
>>
>> Hi,
>>
>> How to custom an input field width class='col-sm-x' in create/edit
>> forms that come from SQLFORM.grid
Hi Pierre, how did you solve this ?
ondelete='SET NULL' on sqlite is not working, it deletes all records on
the child table associated with the deleted record on the father table
instead of seting empty on the refered field.
Thanks for your help.
El jueves, 28 de enero de 2016, 13:13:50 (
Yes, but the maxtextlength attribute works only on the grid, and I think
is not accesible from the generic create/edit form created by the grid. How
the maxtextlength attribute be used in the form?
El miércoles, 4 de julio de 2018, 12:58:12 (UTC+2), 黄祥 escribió:
>
> think there is maxtextlength
Hi,
How to custom an input field width class='col-sm-x' in create/edit forms
that come from SQLFORM.grid
On SQLFORM can be done this way:
form = SQLFORM(db.movimiento)
if form.element('#movimiento_cantidad'):
wclass = form.element('#movimiento_cantidad')['_class']
form.element('#mo
son cannot select himself as his partnet
- A person can only select a partner that is single
db((db.person.partner == None) & (db.person.id != *current.id*)).select()
Is this posible?
El viernes, 20 de abril de 2018, 21:16:59 (UTC+2), Anthony escribió:
>
> On Friday, April 20, 2018 at 2:32:45 PM UTC
Hello,
Why on update/insert a record with a non-empty partner, the partner does
not get updated as well with the backwards reference?
db.define_table('person',
Field('name', requires=IS_NOT_EMPTY()),
Field('partner', 'reference person',
requires=IS_EMPTY_OR(IS_IN
21 matches
Mail list logo