You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When I attempt to filter on an email field (for example the default django User model contains an EmailField), I get a validation error (in strict mode) :
query=QueryDict('email__contains=gmail')
# filter set definition ...# resultValidationError: {'email__contains': ['Saisissez une adresse de courriel valide.']}
I can somehow understand the error but as I am filtering via a contains, the behaviour is not correct.
The text was updated successfully, but these errors were encountered:
Any ideas for how to fix this? I am not using strict mode, so no error, but any attempts to filter on email__contains (where email is an email field), ends in zero results. It seems to do a exact match - so contact_email__contains='[email protected]' will return something, but 'contact_email__contains=email' returns no results.
Hi there,
When I attempt to filter on an email field (for example the default django User model contains an EmailField), I get a validation error (in strict mode) :
I can somehow understand the error but as I am filtering via a
contains
, the behaviour is not correct.The text was updated successfully, but these errors were encountered: