Now, I am getting another error.
#model
db.define_table('organization_info',
Field('name'),
Field('date_of_birth', 'date'),
Field('village'),
Field('block'),
Field('district'),
Field('state'),
Field('country'),
Field('pin'),
auth.signature()
)
On Sat, Sep 21, 2019 at 9:07 PM Massimo Di Pierro
Thank you for clarifying.
On Sat, Sep 21, 2019 at 9:10 PM Massimo Di Pierro <
massimo.dipie...@gmail.com> wrote:
> Yes and not.
>
> You can define your own auth_table before you call Auth() but you would
> also need to modify the html and js logic that handle the ajax forms.
> Maybe I will mak
Thanks Massimo,
Now, it's working fine.
On Sat, Sep 21, 2019 at 9:06 PM Massimo Di Pierro <
massimo.dipie...@gmail.com> wrote:
> They work the same as in web2py but you must import them
>
> from pydal.validators import *
>
> On Saturday, 21 September 2019 08:15:43 UTC-7, sandeep patel wrote:
>
... and can you show us the complete traceback?
On Saturday, 21 September 2019 23:47:28 UTC-7, Massimo Di Pierro wrote:
>
> Can you try?
>
> nombre_cliente = u'SECRETARÍA'
>
> What is your connection string? which python version?
>
> On Saturday, 21 September 2019 23:43:42 UTC-7, Luciano Fain wr
Can you try?
nombre_cliente = u'SECRETARÍA'
What is your connection string? which python version?
On Saturday, 21 September 2019 23:43:42 UTC-7, Luciano Fain wrote:
>
> Dear Team
>
> I have a string with an special charater on it: 'SECRETARÍA XXX'
>
> When i try to do an insert on DB
>
> id_e
I do not see any problem with that
On Saturday, 21 September 2019 01:09:36 UTC-7, Rahul wrote:
>
>
> Hello All,
>Will having a structure like below cause conflicts with web2py
> controllers or applications ? I've found it does and when removed it
> removes a few issues automatically.
>
Dear Team
I have a string with an special charater on it: 'SECRETARÍA XXX'
When i try to do an insert on DB
id_encabezado = db.encabezado.insert(tipo_reg = 0,nombre_cliente =
'SECRETARÍA' )
got the following error:
'ascii' codec can't decode byte 0xc3 in position 942: ordinal
not in range(128
Hello everybody,
I'm struggling with this right here. I want to pass an id from view to a
controller function so I can delete a record from database.
So far this is what I got.
I would appreciate some light on this because I don't know what I'm doing
wrong.
Thanks!
view
$('#warning').on('click
You need to press the reload button in the dashboard or restart the server.
On Friday, 20 September 2019 02:12:15 UTC-7, Toan Le wrote:
>
> For a new update in model, controller or view, do I need to restart the
> server?
>
> On Tuesday, September 17, 2019 at 1:03:11 PM UTC+7, Massimo Di Pierro
Can you logout and login again? The group membership is cached and maybe
you changed after you tried the code.
On Wednesday, 18 September 2019 10:16:03 UTC-7, Ramos wrote:
>
> or maybe not
> I tried to impersonate other user that has membership PORTEIRO and i get
> "Forbidden"
>
> Em qua, 18 de
Yes and not.
You can define your own auth_table before you call Auth() but you would
also need to modify the html and js logic that handle the ajax forms.
Maybe I will make this easier later.
You can also make another table that refences auth_user and create your own
forms to handle it.
On Sa
Minor change of behavior. In py4web you need auth.signature() notice the ()
On Saturday, 21 September 2019 07:20:02 UTC-7, sandeep patel wrote:
>
> Hello,
>
> I am getting an error to add auth.signature in the table.
>
> #model.py
> from . import common
> auth = common.auth
>
> db.define_table('or
They work the same as in web2py but you must import them
from pydal.validators import *
On Saturday, 21 September 2019 08:15:43 UTC-7, sandeep patel wrote:
>
> Hello Massimo,
>
> I have added *IS_EMPTY_OR* validator in the field. I am getting an error.
>
> Is there any way to add a validator in
Hello Massimo,
I have added *IS_EMPTY_OR* validator in the field. I am getting an error.
Is there any way to add a validator in the field in py4web?
Please have a look at attached file.
Thanks
SP
--
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.c
Hello,
I am getting an error to add auth.signature in the table.
#model.py
from . import common
auth = common.auth
db.define_table('organization_info',
Field('name'),
Field('date_of_birth', 'date'),
Field('village'),
Field('block'),
Field('district'),
Field('state'),
Field('country'),
Field('pin
Hello Massimo,
In web2py, We can add new fields in the existing table by
*auth.settings.extra_fields*.
In Py4web. we can do the same?
Thanks
Sandeep
--
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py (Source code)
- https://code.googl
Hello All,
Will having a structure like below cause conflicts with web2py
controllers or applications ? I've found it does and when removed it
removes a few issues automatically.
1] *Controllers *-
Example we have default.py in controllers folder along with default_01.py
.. default
Hello
Has anyone found such an error on web2py ? If yes - any clue what it could
be ?
Ticket ID
109.102.111.32.2019-09-16.00-02-25.3b80feb4-c283-4a67-8ece-6d7917ba4334
Version
web2py™ Version 2.18.5-stable+timestamp.2019.04.08.04.22.03
Python Python 2.7.13: /usr/bin/python (prefix: /usr)Tra
18 matches
Mail list logo