Hello,
Here's a little report on the status of aggregation support:
New
---
* ordering by aggregated values
* support in mysql to group by pk instead of all the fields whenever
possible
* I added a patch in #3566 with the latest implementation of
aggregates so it would be easier to test
Hello,
Today I've commited what could be called the first working version of
aggregate support. For those of you not keeping track of the project,
it can be found at: http://code.google.com/p/django-aggregation/
Some words on the status of the project.
Working
* Currently both
Hi Russell,
I have been adding your test cases to the test suit and ran into
troubles with some of them so I would like to know a bit more on what
you were expecting from the queries:
> * Does Author X have any friends?
> (aggregate on a related object)
>
That came quite unreadable... a translation here: (sorry for the
noise)
"""
Hello,
While doing some test cases for aggregates I came across the fact that
extra() does not play well with values().
For example, though
>>> Book.objects.all().extra(select={'price_per_page' : 'price /
>>>
For those that are interested the aggregation project is hosted in
http://code.google.com/p/django-aggregation/
The code is basically an up to date copy of trunk patched with the
aggregation support and the relevant tests and doc.
Currently there is support for both aggregate and annotate on
Hello,
I've been looking into the different use cases for aggregation and
came across one that I wasn't very sure what should be the expected
behaviour (regardless of the syntax used to express it)
If we do something like:
Buyer.objects.all().annotate('purchases__quantity__sum', 'age__max')
Hi Justin,
> I really like Honza's idea of an AggregateModel, at least for cases where
> there's a 1-1 correspondence between results and actual instances, so that
> the model will still behave as expected. To keep from cluttering the model's
> attributes, aggregate values could be put into
cifically, will there be some way to create new aggregate
> predicates just as the builtin sum, avg, etc ?
When the I get the basic functionality on wheels I'll check of a way
to do this in a cross-database manner.
Thanks =)
Regards,
> Regards
> Rajeev J Sebastian
>
> On Wed, Apr 23,
On Apr 22, 4:36 pm, Matthias Kestenholz <[EMAIL PROTECTED]> wrote:
> Hi.
>
> this is very exciting! I've one suggestion/question though.
>
> On Tue, 2008-04-22 at 13:24 -0700, Nicolas E. Lara G. wrote:
>
> > with the possibility of using non-keyword arguments
Hello,
I have been selected to implement Aggregate support in the Django ORM
as a project for Google Summer of Code 2008 =) My mentor for this
project is Russell Keith-Magee.
I am very happy with both being selected (of course :p) and, in
general, with all the projects that were selected for
The idea of adding custom methods to QuerySets seem interesting but I
think that subclasing a core part of the framework is quite messy and
will require for the developers to know/understand the inner workings
of the framework (and there goes abstraction). With this approach you
would end up, if
and, if they include those contrib apps in
their project, they can disambiguate them .
Its not a critique of your proposal, I propose the same thing, its an
extension.
Nicolas
On Mar 30, 12:27 am, Malcolm Tredinnick <[EMAIL PROTECTED]>
wrote:
> On Fri, 2007-03-30 at 04:15 +, Nicolas E. Lara
Other than using uncommon names for the url one could just use the
most obvious name and let the url tag have a disambiguation function
so if the name is: "name" you could write both:
{% url 'name' %} and {% url 'myapp.name' %} (or "myapp/name" or
"myapp-name")
With this you could keep the url
Hello,
I have a proposal for solving this problem on
http://hagen.ac.labf.usb.ve/nicolas/gsoc/url-objects/. Maybe you'll
like it. Personally I dislike the idea of having a different method
for reversing generic views. I believe that the same method should be
use for any view. But I like the
I promise I wont write about this again!
I just wanted to let you know I have finished my 3 Django-related
Google summer of code proposals. And that they are listed in
http://hagen.ac.labf.usb.ve/nicolas/gsoc/ for anyone to take a look or
comment.
I hope you like them,
anx
On 19 mar, 01:26, "Nicolas E. Lara G." <[EMAIL PROTECTED]> wrote:
> Hello,
> I've created a site to hold my google summer of code proposals. So far
> I have a Django proposal and I would like to get feedback from the
> community. It's a shame that google doesn't l
Hello,
I've created a site to hold my google summer of code proposals. So far
I have a Django proposal and I would like to get feedback from the
community. It's a shame that google doesn't let you change your
proposal but I'll make any improvements in this page and hope the lead
developers will
Hello,
I'm planning on submitting a google summer of code project related to
the admin for rich media support that includes integrating filebrowser
and tinyMCE, deleting multiple items at once, friendly large files
support, etc. As the admin is being re-designed/written right now I
was wondering
18 matches
Mail list logo