Changes between Initial Version and Version 1 of Ticket #29881


Ignore:
Timestamp:
Oct 23, 2018, 3:04:30 AM (6 years ago)
Author:
Par Andersson
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #29881 – Description

    initial v1  
    22
    33Example:
    4 
     4{{{
    55Model.objects.annotate(bug=Cast('somefield', DecimalField(10,2)))
    6 
     6}}}
    77Will generate an error from MySQL, the issue is that MySQL has an issue where it's not possible to cast to numeric as reported here:
    88https://bugs.mysql.com/bug.php?id=84558
Back to Top