Cannot use None as a query value for iexact lookup
|Reported by:||denya||Owned by:||nobody|
|Component:||Database layer (models, ORM)||Version:||master|
|Has patch:||yes||Needs documentation:||yes|
|Needs tests:||no||Patch needs improvement:||no|
Current behavior is "None is interpreted as an SQL NULL, but only in exact queries."
iexact=None lookup fails now. It's wrong behavior.
iexact=None lookup must behave like exact=None query.
Change History (5)
comment:1 Changed 3 years ago by denya
- Has patch set
- Needs documentation unset
- Needs tests unset
- Patch needs improvement unset
comment:2 Changed 3 years ago by timo
- Needs documentation set
- Triage Stage changed from Unreviewed to Accepted
- Type changed from Bug to New feature