#28992: Querying GenericIPAddressField with a space crashes with DataError on
PostgreSQL
-------------------------------------+-------------------------------------
Reporter: Vlada Macek | Owner: Can
| Sarıgöl
Type: Bug | Status: assigned
Component: Database layer | Version: master
(models, ORM) |
Severity: Normal | Resolution:
Keywords: | Triage Stage: Accepted
Has patch: 1 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
-------------------------------------+-------------------------------------
Comment (by Simon Charette):
I know some lookup raise `ValueError` or `TypeError` when an invalid value
is provided but none raise `ValidationError` AFAIK. IMO this is an issue
similar to #29915 where a specialized `__contains` lookup must be
implemented for `GenericIPAddressField`.
--
Ticket URL: <https://code.djangoproject.com/ticket/28992#comment:6>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.
--
You received this message because you are subscribed to the Google Groups
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/django-updates/064.ad27873d3e82a3fe55a44263dc2a2cd8%40djangoproject.com.