Very similar problem, but with an important difference: the referencing
table is the "user" table, an extension of it actually...
So I don't know how to resolve.
by the way, the behaviour is a little randomic: it works for some fields
but not for others.
At the moment "dipartimenti" is
> On Friday, November 6, 2015 at 8:31:26 PM UTC-5, Marvi Benedet wrote:
>> Very similar problem, but with an important difference: the referencing
>> table is the "user" table, an extension of it actually...
Ok, thanks to the suggestions. I'll give a try!
2016-06-27 23:15 GMT+02:00 Limedrop :
> The function you are looking for is CRYPT. You could but something like
> this in an on_validation function:
> if auth.user.password ==
I think the message is misleading...
2017-02-10 13:09 GMT+01:00 Leonel Câmara :
> I don't see the problem. Appadmin only checks that the insert form is
> accepted which it is.
> - http://web2py.com
> - http://web2py.com/book (Documentation)
Hello to all.
I tried LDAP authentication and all work flawless.
As an user logs in, the relative user entry is created in the web2py user
table. That's great.
But sometimes it would be usefull to have the user in the table before his
So, would be great for some user, says an
Good to know that doesn't exist something ready.
Will try to find the time to study LDAP and the rest!
2016-08-23 15:58 GMT+02:00 Richard Vézina :
> For checking if user exist in LDAP you will need to write your own logic
> and query
so, is there a way to disable the password validator in the login form
without modify web2py core files?
2016-11-22 14:36 GMT+01:00 Anthony :
> def user():
> if request.args(0) == 'login':
Sorry for the delay, I was busy on other tasks.
I tried and works like a charm!
2016-11-24 2:35 GMT+01:00 Anthony :
> On Wednesday, November 23, 2016 at 8:20:48 AM UTC-5, Marvix wrote:
>> so, is there a way to disable the password validator in the login
2017-04-10 14:07 GMT+02:00 Karoly Kantor :
> I have a picklist type of field where the user selects from a set of
> predefined values. I am using IS_IN_SET(list_of_values) in the Field
> The form cannot be saved
for element in iterable:
so any() return true if one (or more) of the elements is True.
auth.has_membership(role) for role in list_of_roles
Just tried now, and it works perfectly! really many thanks for the support!!
Didn't know that db().select(...) construction is discouraged.
2017-10-02 16:21 GMT+02:00 Anthony :
> On Monday, September 11, 2017 at 5:43:30 AM UTC-4, Marvix wrote:
>> Found that was
I'm writing a multi-tenant app.
All tables have a domain field which is used to distinguish beetween
They all have a "common_filter = lambda query:
All is working fine, except when I'm trying to use a left join query,
Really no solutions to this?
2017-09-11 11:43 GMT+02:00 Marvix :
> Found that was already discussed some years ago, but I think isn't resolved
> - http://web2py.com
> - http://web2py.com/book
When I was looking for an easy to learn framework for building a web
application, I tried some: Django, Flask, Pyramid and so on. As I had very
limited time to invest, I found that the one that was best explained was
I saw the Massimo's videos and all was so easy and clear. I wasn't
Yes, It worked!
2018-02-07 17:14 GMT+01:00 Leonel Câmara :
> This is sort of a bug, but one that is probably kept for backwards
> compatibility reasons.
> You can make your example code work by doing this:
> auth = Auth(db,
found the solutions:
in* auth.extra_fields* there are some tables that are reference to other
so I moved this settings and the
at the bottom. Seems that resolved all the troubles.
2018-02-09 13:42 GMT+01:00 Marvi Benedet <
on the db is matching what is defined in the web2py model?
After some tests with "fake_migrate" It's easy to loose the match..
2018-02-08 16:55 GMT+01:00 Marvi Benedet <ma...@marvi.it>:
> Yes, It worked!
> 2018-02-07 17:14 GMT+01:00 Leonel
I tried the code on bottom, where I changed the default auth_user table
name and I used the "auth.signature' feature, but I get an error:
‘*Cannot resolve reference auth_user in tests definition*’
this happen only when a table contain "auth.signature".
Debuggin a bit I found that when
Mail list logo