#18416: Query fails when SimpleLazyObject evaluates to None
-------------------------------------+-------------------------------------
Reporter: bouke | Owner: nobody
Type: Bug | Status: closed
Component: Database layer | Version: 1.4
(models, ORM) | Resolution: wontfix
Severity: Normal | Triage Stage:
Keywords: | Unreviewed
Has patch: 0 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
-------------------------------------+-------------------------------------
Changes (by lukeplant):
* status: new => closed
* needs_better_patch: => 0
* resolution: => wontfix
* needs_tests: => 0
* needs_docs: => 0
Comment:
WONTFIX, I'm afraid. There is nothing we could do apart from putting a
special case for `SimpleLazyObject` in `get_prep_value()` where the `is
None` test gets done, which would be horrible.
It is **Simple** Lazy Object after all.
--
Ticket URL: <https://code.djangoproject.com/ticket/18416#comment:1>
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 post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/django-updates?hl=en.