Hi stifan,
Thanks for reply. But it is still validating against the DB and not LDAP
Thanks,
Suhas
On Friday, 8 June 2018 16:39:15 UTC-7, 黄祥 wrote:
>
> pls try (not tested)
> *models/db.py*
> from gluon.contrib.login_methods.ldap_auth import ldap_auth
> auth.settings.login_methods.append(ldap_au
Change IS_IN_DB to requires = IS_EMPTY_OR(IS_IN_DB( db(db.query.)))
Then you should not get the error for an empty field
See http://web2py.com/books/default/chapter/29/07/forms-and-validators
about 3/4 the way down the page
--
Resources:
- http://web2py.com
- http://web2py.com/book (Docu
web2py version 2.16.1-stable
python version 2.7.15
pip install wsgiref flup cherrypy rocket paste gevent tornado twisted
gunicorn eventlet motor waitress
tried to install via pip but failed in mac : fapws mongrel2 diesel bjoern
pulsar repoze
*note:*
- for linux os is tested using docker
- for
Are there any reasons I should not schedule tasks days, weeks, or months in
advance in the web2py scheduler? It seems such a fantastic,
general-purpose tool that I'm using it for more and more things in the
site.
Currently I'm considering using it to "reveal" embargo'ed items that should
no
I'm using web2py and now I'm fetching all calendar events from db using
this code in a view:
events: [
{{for row in rowseventi:}}
{
title: '{{=row.evento.titolo}}',
id: '{{=row.evento.id}}',
resourceId: '{{=row.evento.risorsa}}',
start
I tried, but it's not working with 2 fields to get hidden...
Il giorno domenica 10 giugno 2018 02:41:12 UTC+2, 黄祥 ha scritto:
>
> perhaps you can use show_if for conditional field or jquery()
> ref:
>
> http://web2py.com/books/default/chapter/29/07/forms-and-validators#Conditional-fields
>
> http:
6 matches
Mail list logo