Re: Django template filters floatformat and intcomma: speed issues

2012-11-03 Thread Russell Keith-Magee
On Sun, Nov 4, 2012 at 12:05 AM, Kee wrote: > Hello, > > I was generating a lagrge table with django and wondered why response is > so slow (it has ~ 2000 x 10), so I rewrote > profiled ``floatformat`` and ``intcomma`` and wrote down their > implementations using builtin functions only. > > Take

Re: Add a "split" field to a model causes problems

2012-11-03 Thread Stephen Burrows
I've opened a ticket to track this issue. On Tuesday, October 23, 2012 3:52:10 AM UTC-7, Andrew Ingram wrote: > > Hi all, > > This one stung me today. Basically as part of an event (calendar) app, I > have functionality for splitting a series of even

Django template filters floatformat and intcomma: speed issues

2012-11-03 Thread Kee
Hello, I was generating a lagrge table with django and wondered why response is so slow (it has ~ 2000 x 10), so I rewrote profiled ``floatformat`` and ``intcomma`` and wrote down their implementations using builtin functions only. Take a look: https://gist.github.com/4007717 Floatformat becam

Re: 1.5, update_fields and PostgreSQL (or other MVCC style database) - request for documentation note

2012-11-03 Thread Andrey Antukh
2012/11/3 Christian Jensen > I was just writing some code against 1.5 and thought I might use the new > .save(update_fields=['xyz']) then I realized I was using PostgreSQL - which > is an MVCC... which re-writes the entire row as far as I know even when one > column is being updated. > > I popped