> .. (A) silent rounding issue:
> when a decimal value is saved in db
> its decimal digits exceeding decimal_places are rounded off using
> .quantize(). Rounding defaults to ROUND_HALF_EVEN (python default).
> There is no mention of this behavior in docs.
Docs patches welcomed. This
On Oct 5, 2:59 pm, ptone wrote:
> 13125 was wontfixed by Jacob at the end of the summer, this relates to
> the login_required decorator not checking for user.is_active
>
> I had opened a duplicate ticket 16996 before catching it as a dupe
>
> I'm going to dredge this one back
13125 was wontfixed by Jacob at the end of the summer, this relates to
the login_required decorator not checking for user.is_active
I had opened a duplicate ticket 16996 before catching it as a dupe
I'm going to dredge this one back up.
At a minimum, the current, counter-intuitive behavior of
That's pretty nice - something like this would be a nice additional feature.
Any thoughts core devs??
On Wed, Oct 5, 2011 at 8:26 PM, Patryk Zawadzki wrote:
> On Wed, Oct 5, 2011 at 12:40 PM, Cal Leeming [Simplicity Media Ltd]
>
On Wed, Oct 5, 2011 at 12:40 PM, Cal Leeming [Simplicity Media Ltd]
wrote:
> Could I bring the latest comment on the following ticket to the attention of
> you guys:
> https://code.djangoproject.com/ticket/10863#comment:17
> Any feedback would be much
Hi,
As you can see in the ticket¹, I've identified the source of the
exception and provided a naïve patch. I am however not familiar with
internals of the SQL compiler enough to judge whether it's the correct
place to patch. Can someone with more knowledge hold my hand here?
I am interested in
Yeah, I've played around with the trigram indexes a little in 9.1, with mixed
results. For example, they didn't appear to improve the queries I used in my
examples below.
Anyway, I think the case for using ILIKE for __icontains on postgres is
worthwhile, and it's dead simple to change the 2
Hi,
I would like to share some thoughts regarding django.db.models.DecimalField:
.. (A) silent rounding issue:
when a decimal value is saved in db
its decimal digits exceeding decimal_places are rounded off using
.quantize(). Rounding defaults to ROUND_HALF_EVEN (python default).
Could I bring the latest comment on the following ticket to the attention of
you guys:
https://code.djangoproject.com/ticket/10863#comment:17
Any feedback would be much appreciated.
Thanks
Cal
--
You received this message because you are subscribed to the Google Groups
"Django developers"