Opened 8 years ago
Last modified 3 years ago
#28992 assigned Bug
Admin search over GenericIPAddressField with badly formatted IP address causes a DataError — at Version 1
| Reported by: | Vlada Macek | Owned by: | nobody |
|---|---|---|---|
| Component: | Database layer (models, ORM) | Version: | dev |
| Severity: | Normal | Keywords: | |
| Cc: | Triage Stage: | Accepted | |
| Has patch: | yes | Needs documentation: | no |
| Needs tests: | no | Patch needs improvement: | yes |
| Easy pickings: | no | UI/UX: | no |
Description (last modified by )
When I have a GenericIPAddressField of the model in search_fields of a ModelAdmin and then search for example a space, the admin dies with 500 and
DataError: invalid input syntax for type inet: " "
exception is e-mailed.
Note:
See TracTickets
for help on using tickets.