Re: [Django] #33801: IsNull Lookup requesting a attribute from RHS while it is force to be of type bool

2022-06-23 Thread Django
#33801: IsNull Lookup requesting a attribute from RHS while it is force to be of
type bool
-+-
 Reporter:  Bart Kalkman |Owner:  nobody
 Type:  Bug  |   Status:  closed
Component:  Database layer   |  Version:  4.0
  (models, ORM)  |
 Severity:  Normal   |   Resolution:  duplicate
 Keywords:  Lookup, IsNull,  | Triage Stage:
  Models |  Unreviewed
Has patch:  0|  Needs documentation:  0
  Needs tests:  0|  Patch needs improvement:  0
Easy pickings:  0|UI/UX:  0
-+-
Changes (by Mariusz Felisiak):

 * status:  new => closed
 * resolution:   => duplicate


Comment:

 Duplicate of #33705, fixed in Django 4.0.5 (see
 9f5548952906c6ea97200c016734b4f519520a64).

-- 
Ticket URL: 
Django 
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 django-updates+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/0107018190c5002e-6dc7752b-d7b1-4b85-ad30-9ad022de4069-00%40eu-central-1.amazonses.com.


[Django] #33801: IsNull Lookup requesting a attribute from RHS while it is force to be of type bool

2022-06-23 Thread Django
#33801: IsNull Lookup requesting a attribute from RHS while it is force to be of
type bool
-+-
   Reporter: |  Owner:  nobody
  BartKalkman|
   Type:  Bug| Status:  new
  Component:  Database   |Version:  4.0
  layer (models, ORM)|   Keywords:  Lookup, IsNull,
   Severity:  Normal |  Models
   Triage Stage: |  Has patch:  0
  Unreviewed |
Needs documentation:  0  |Needs tests:  0
Patch needs improvement:  0  |  Easy pickings:  0
  UI/UX:  0  |
-+-
 When using the {{{ django.db.models.lookups.IsNull }}} directly it forces
 you to use a bool for the RHS, else you will get an error saying to use
 True of False.
 When using True or False you will get an error saying {{{ AttributeError:
 'bool' object has no attribute 'resolve_expression' }}}

-- 
Ticket URL: 
Django 
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 django-updates+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/0107018190ac9a27-672fd959-e1d8-4084-b1e2-11f16b090759-00%40eu-central-1.amazonses.com.