Re: [Django] #30548: Improve exceptions about mixed types in Expressions.

2019-06-10 Thread Django
#30548: Improve exceptions about mixed types in Expressions.
-+-
 Reporter:  Keryn Knight |Owner:  Shubham
 Type:   |  Bhagat
  Cleanup/optimization   |   Status:  closed
Component:  Database layer   |  Version:  master
  (models, ORM)  |
 Severity:  Normal   |   Resolution:  fixed
 Keywords:  expressions orm  | Triage Stage:  Accepted
Has patch:  1|  Needs documentation:  0
  Needs tests:  0|  Patch needs improvement:  0
Easy pickings:  1|UI/UX:  0
-+-
Changes (by Mariusz Felisiak ):

 * status:  assigned => closed
 * resolution:   => fixed


Comment:

 In [changeset:"34f8eeea4aaed37e1d02915b76c18892c8c1718e" 34f8eeea]:
 {{{
 #!CommitTicketReference repository=""
 revision="34f8eeea4aaed37e1d02915b76c18892c8c1718e"
 Fixed #30548 -- Improved exception when expression contains mixed types.
 }}}

-- 
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 post to this group, send email to django-updates@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/067.62f6ce9719b8b823a3cba56bc640494c%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.


Re: [Django] #30548: Improve exceptions about mixed types in Expressions.

2019-06-09 Thread Django
#30548: Improve exceptions about mixed types in Expressions.
-+-
 Reporter:  Keryn Knight |Owner:  Shubham
 Type:   |  Bhagat
  Cleanup/optimization   |   Status:  assigned
Component:  Database layer   |  Version:  master
  (models, ORM)  |
 Severity:  Normal   |   Resolution:
 Keywords:  expressions orm  | Triage Stage:  Accepted
Has patch:  1|  Needs documentation:  0
  Needs tests:  0|  Patch needs improvement:  0
Easy pickings:  1|UI/UX:  0
-+-
Changes (by felixxm):

 * has_patch:  0 => 1


Comment:

 [https://github.com/django/django/pull/11457 PR]

-- 
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 post to this group, send email to django-updates@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/067.493d00b75534ad5e4e740a83b7fdbb4c%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.


Re: [Django] #30548: Improve exceptions about mixed types in Expressions.

2019-06-09 Thread Django
#30548: Improve exceptions about mixed types in Expressions.
-+-
 Reporter:  Keryn Knight |Owner:  Shubham
 Type:   |  Bhagat
  Cleanup/optimization   |   Status:  assigned
Component:  Database layer   |  Version:  master
  (models, ORM)  |
 Severity:  Normal   |   Resolution:
 Keywords:  expressions orm  | Triage Stage:  Accepted
Has patch:  0|  Needs documentation:  0
  Needs tests:  0|  Patch needs improvement:  0
Easy pickings:  1|UI/UX:  0
-+-
Changes (by Shubham Bhagat):

 * owner:  nobody => Shubham Bhagat
 * status:  new => assigned


-- 
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 post to this group, send email to django-updates@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/067.bc68ca353044c7711374c8fdbea43c27%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.


Re: [Django] #30548: Improve exceptions about mixed types in Expressions. (was: Improve exception message when BaseExpression raises "'Expression contains mixed types. You must set output_field.'")

2019-06-06 Thread Django
#30548: Improve exceptions about mixed types in Expressions.
-+-
 Reporter:  Keryn Knight |Owner:  nobody
 Type:   |   Status:  new
  Cleanup/optimization   |
Component:  Database layer   |  Version:  master
  (models, ORM)  |
 Severity:  Normal   |   Resolution:
 Keywords:  expressions orm  | Triage Stage:  Accepted
Has patch:  0|  Needs documentation:  0
  Needs tests:  0|  Patch needs improvement:  0
Easy pickings:  1|UI/UX:  0
-+-
Changes (by felixxm):

 * stage:  Unreviewed => Accepted
 * easy:  0 => 1


Comment:

 Agreed, we can add types to this exception but I would like to keep it
 simple, e.g. "''Expression contains mixed types: FloatField, IntegerField.
 You must set output_field to IntegerField.''"

-- 
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 post to this group, send email to django-updates@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/067.281d7158f6205c9eff8cb921c9c8d708%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.