Web Images Videos Maps News Shopping Gmail more »
Recently Visited Groups | Help | Sign in
Google Groups Home
Queryset-refactor branch has been merged into trunk
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  22 messages - Collapse all  -  Translate all to Translated (View all originals)
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
Malcolm Tredinnick  
View profile  
(9 users)  More options Apr 26 2008, 11:04 pm
From: Malcolm Tredinnick <malc...@pointy-stick.com>
Date: Sun, 27 Apr 2008 13:04:48 +1000
Local: Sat, Apr 26 2008 11:04 pm
Subject: Queryset-refactor branch has been merged into trunk
I merged queryset-refactor into trunk just now. This was changeset
r7477.

There are still a couple of enhancements to do, but I've decided they're
not worth holding up the entire branch for. I can just as easily do them
on trunk.

Thanks to everybody who reported bugs and tested things. Thanks
especially to Justin Bronn and Ian Kelly for lots of patches and testing
to get the Oracle backend up to scratch on the branch.

Detailed list of changes is in the branch's wiki page ([1]) and if
you're interested in seeing the documentation additions and changes, you
can view [2].

[1] http://code.djangoproject.com/wiki/QuerysetRefactorBranch
[2] http://code.djangoproject.com/changeset?new=django%2Ftrunk%2Fdocs%
407477&old=django%2Ftrunk%2Fdocs%407411

No more bugs should now be reported against the queryset-refactor
version. The branch is closed.

Regards,
Malcolm

--
On the other hand, you have different fingers.
http://www.pointy-stick.com/blog/


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Prairie Dogg  
View profile  
 More options Apr 26 2008, 11:29 pm
From: Prairie Dogg <wiley.kest...@gmail.com>
Date: Sat, 26 Apr 2008 20:29:27 -0700 (PDT)
Local: Sat, Apr 26 2008 11:29 pm
Subject: Re: Queryset-refactor branch has been merged into trunk
Malcom,

Thanks so much for your tremendous effort and success on this!

You rock!

On Apr 26, 11:04 pm, Malcolm Tredinnick <malc...@pointy-stick.com>
wrote:


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Prairie Dogg  
View profile  
 More options Apr 26 2008, 11:30 pm
From: Prairie Dogg <wiley.kest...@gmail.com>
Date: Sat, 26 Apr 2008 20:30:46 -0700 (PDT)
Local: Sat, Apr 26 2008 11:30 pm
Subject: Re: Queryset-refactor branch has been merged into trunk
Malcolm: Sorry - it's late over here, didn't mean to mis-type your
name.

File this and previous under: damn-life's-work-with-faint-praise

On Apr 26, 11:29 pm, Prairie Dogg <wiley.kest...@gmail.com> wrote:


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Eric Abrahamsen  
View profile  
 More options Apr 26 2008, 11:48 pm
From: Eric Abrahamsen <gir...@gmail.com>
Date: Sat, 26 Apr 2008 20:48:34 -0700
Local: Sat, Apr 26 2008 11:48 pm
Subject: Re: Queryset-refactor branch has been merged into trunk
Mmmm... model inheritance... multiple OneToOne fields.... mmm....

Thanks for all your hard work, Malcolm! Beers are owed to you!

On Apr 26, 2008, at 8:30 PM, Prairie Dogg wrote:


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
proteusguy@gmail.com  
View profile  
 More options Apr 27 2008, 3:24 am
From: "proteus...@gmail.com" <proteus...@gmail.com>
Date: Sun, 27 Apr 2008 00:24:31 -0700 (PDT)
Local: Sun, Apr 27 2008 3:24 am
Subject: Re: Queryset-refactor branch has been merged into trunk
I was just thinking last night about how nice it will be to get this
into trunk and there it is! :) Now I'm thinking how nice it would be
for Malcolm to send me $10,000... will let you all know how it works
out.

Seriously - great work and congrats on what must be a relief to
finally get to the point where everyone can start using and leveraging
it. One question - does this provide any potential performance
improvements by reducing the number of db accesses for some queries or
does all that occur a level below where this change set impacts? Have
you attempted any speed comparisons?

Thanx!

    -- Ben Scherrey

On Apr 27, 10:04 am, Malcolm Tredinnick <malc...@pointy-stick.com>
wrote:


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Thierry  
View profile  
 More options Apr 27 2008, 3:48 am
From: Thierry <thierryschellenb...@gmail.com>
Date: Sun, 27 Apr 2008 00:48:38 -0700 (PDT)
Local: Sun, Apr 27 2008 3:48 am
Subject: Re: Queryset-refactor branch has been merged into trunk
What's the current opinion about integrating sql alchemy into the
backend of django's ORM?

    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Simon Willison  
View profile  
(1 user)  More options Apr 27 2008, 4:17 am
From: Simon Willison <si...@simonwillison.net>
Date: Sun, 27 Apr 2008 01:17:43 -0700 (PDT)
Local: Sun, Apr 27 2008 4:17 am
Subject: Re: Queryset-refactor branch has been merged into trunk
On Apr 27, 8:48 am, Thierry <thierryschellenb...@gmail.com> wrote:

> What's the current opinion about integrating sql alchemy into the
> backend of django's ORM?

There's an active project to do exactly that hosted here:

http://gitorious.org/projects/django-sqlalchemy/

Some of the features in queryset-refactor are designed to make this
kind of thing easier, but it's still a major undertaking.


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
kamil  
View profile  
 More options Apr 27 2008, 9:17 am
From: kamil <sel...@gmail.com>
Date: Sun, 27 Apr 2008 06:17:42 -0700 (PDT)
Local: Sun, Apr 27 2008 9:17 am
Subject: Re: Queryset-refactor branch has been merged into trunk
I wish god will pay you Malcolm. ;)
It's a great news for django community.
thanx

    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
TP  
View profile  
 More options Apr 27 2008, 12:56 pm
From: TP <thomaspinckn...@gmail.com>
Date: Sun, 27 Apr 2008 09:56:13 -0700 (PDT)
Local: Sun, Apr 27 2008 12:56 pm
Subject: Re: Queryset-refactor branch has been merged into trunk
Great! I tried trunk as of a few minutes ago with a moderately
complicated project I have using MySQL and everything seems to work
fine. Will keep testing it over the next few days and report any
problems.

On Apr 26, 11:04 pm, Malcolm Tredinnick <malc...@pointy-stick.com>
wrote:


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
sserrano  
View profile  
 More options Apr 27 2008, 11:22 pm
From: sserrano <sebastian.serr...@gmail.com>
Date: Sun, 27 Apr 2008 20:22:18 -0700 (PDT)
Local: Sun, Apr 27 2008 11:22 pm
Subject: Re: Queryset-refactor branch has been merged into trunk
Thanks for the great work!!!

On Apr 27, 12:04 am, Malcolm Tredinnick <malc...@pointy-stick.com>
wrote:


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
simonbun  
View profile  
 More options Apr 28 2008, 1:23 am
From: simonbun <simonce...@gmail.com>
Date: Sun, 27 Apr 2008 22:23:07 -0700 (PDT)
Local: Mon, Apr 28 2008 1:23 am
Subject: Re: Queryset-refactor branch has been merged into trunk
So qs-rf hit trunk and was merged into nfa on the same day! That's
excellent news, both for me and for django. Thanks so much for your
efforts Malcolm (and Brosner for the quick merge)!

regards,
Simon


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Julien  
View profile  
 More options Apr 28 2008, 1:30 am
From: Julien <jpha...@gmail.com>
Date: Sun, 27 Apr 2008 22:30:05 -0700 (PDT)
Local: Mon, Apr 28 2008 1:30 am
Subject: Re: Queryset-refactor branch has been merged into trunk
Thanks Malcolm for this huge contribution! I switched a quite big live
project to the new trunk and it's working really well so far.

Cheers,

Julien

On Apr 28, 3:23 pm, simonbun <simonce...@gmail.com> wrote:


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Matt Hoskins  
View profile  
 More options Apr 28 2008, 5:07 am
From: Matt Hoskins <Skaffe...@googlemail.com>
Date: Mon, 28 Apr 2008 02:07:58 -0700 (PDT)
Local: Mon, Apr 28 2008 5:07 am
Subject: Re: Queryset-refactor branch has been merged into trunk

On Apr 27, 4:04 am, Malcolm Tredinnick <malc...@pointy-stick.com>
wrote:

> I merged queryset-refactor into trunk just now. This was changeset
> r7477.

Thanks for all your hard work Malcolm on queryset-refactor, it's much
appreciated!

Regards,
Matt


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
hiwd  
View profile  
 More options Apr 28 2008, 9:16 am
From: hiwd <kfricov...@gmail.com>
Date: Mon, 28 Apr 2008 06:16:45 -0700 (PDT)
Local: Mon, Apr 28 2008 9:16 am
Subject: Re: Queryset-refactor branch has been merged into trunk

malcom,

thanks much for your hard work on this bad boy!

I've already @ioubeer ya on twitter. so the next time you're in nyc,
i'm buying.

much appreciated, cheers!

On Apr 26, 11:29 pm, Prairie Dogg <wiley.kest...@gmail.com> wrote:


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Juanjo Conti  
View profile  
 More options Apr 28 2008, 9:32 am
From: Juanjo Conti <jjco...@gmail.com>
Date: Mon, 28 Apr 2008 10:32:04 -0300
Local: Mon, Apr 28 2008 9:32 am
Subject: Re: Queryset-refactor branch has been merged into trunk
Malcolm Tredinnick escribió:

> I merged queryset-refactor into trunk just now. This was changeset
> r7477.

Could you give me a url where new features are explained?
Is this backwards compatible or should I svn up with care?

Thanks

Juanjo
--
mi blog: http://www.juanjoconti.com.ar


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
James Bennett  
View profile  
 More options Apr 28 2008, 9:37 am
From: "James Bennett" <ubernost...@gmail.com>
Date: Mon, 28 Apr 2008 08:37:39 -0500
Local: Mon, Apr 28 2008 9:37 am
Subject: Re: Queryset-refactor branch has been merged into trunk

On Mon, Apr 28, 2008 at 8:32 AM, Juanjo Conti <jjco...@gmail.com> wrote:
>  Could you give me a url where new features are explained?
>  Is this backwards compatible or should I svn up with care?

Well, there's the wiki page Malcolm linked up in his original post...

--
"Bureaucrat Conrad, you are technically correct -- the best kind of correct."


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Don Spaulding II  
View profile  
 More options Apr 28 2008, 1:55 pm
From: Don Spaulding II <donspauldin...@gmail.com>
Date: Mon, 28 Apr 2008 12:55:25 -0500
Local: Mon, Apr 28 2008 1:55 pm
Subject: Re: Queryset-refactor branch has been merged into trunk

Malcolm Tredinnick wrote:
> I merged queryset-refactor into trunk just now. This was changeset
> r7477.

Thanks for all of your effort on this, Malcolm.

Malcolm's Amazon Wishlist:
http://www.amazon.com/gp/registry/registry.html?ie=UTF8&type=wishlist...
<http://www.amazon.com/gp/registry/registry.html?ie=UTF8&type=wishlist...>


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Craig Ogg  
View profile  
(1 user)  More options Apr 28 2008, 9:18 pm
From: "Craig Ogg" <craig....@gmail.com>
Date: Mon, 28 Apr 2008 18:18:17 -0700
Local: Mon, Apr 28 2008 9:18 pm
Subject: Re: Queryset-refactor branch has been merged into trunk
w00t!

Not sure where to point this out, but anyone using the full text
search implementation from Mercurytide[1] will get the following
error:

   django/db/models/query.py
   line c = klass(model=self.model, query=self.query.clone())
   "__init__() got an unexpected keyword argument 'query'"

The sample classes they define are subclassing without handling *args
and *kwargs.  This is easy to resolve by adding them:

  class SearchManager(models.Manager):
      def __init__(self, index_column, *args, **kwargs):
          super(SearchManager, self).__init__(*args, **kwargs)
          self._index_column = index_column

Craig
[1] http://www.mercurytide.co.uk/whitepapers/django-full-text-search/


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
davenaff  
View profile  
 More options Apr 28 2008, 9:53 pm
From: davenaff <daven...@gmail.com>
Date: Mon, 28 Apr 2008 18:53:20 -0700 (PDT)
Local: Mon, Apr 28 2008 9:53 pm
Subject: Re: Queryset-refactor branch has been merged into trunk
Awesome work. Thanks!

    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Kevin Monceaux  
View profile  
 More options Apr 29 2008, 11:16 am
From: Kevin Monceaux <Ke...@RawFedDogs.net>
Date: Tue, 29 Apr 2008 10:16:18 -0500 (CDT)
Local: Tues, Apr 29 2008 11:16 am
Subject: Re: Queryset-refactor branch has been merged into trunk

On Sun, 27 Apr 2008, simonbun wrote:
> So qs-rf hit trunk and was merged into nfa on the same day! That's
> excellent news, both for me and for django. Thanks so much for your
> efforts Malcolm (and Brosner for the quick merge)!

I'll second that.  I've been running against the nfa branch.  I just
updated to pull in the qs-rf changes.  I only had to make a couple of
minor code changes to my site in cases where I was ordering by fields from
another model.  I like the new syntax much better than having to use the
underlying table names.  Congratulations to all involved!!!!!!

Kevin
http://www.RawFedDogs.net
http://www.WacoAgilityGroup.org
Bruceville, TX

Si hoc legere scis nimium eruditionis habes.
Longum iter est per praecepta, breve et efficax per exempla!!!


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
pemdas  
View profile  
 More options Apr 30 2008, 1:05 am
From: pemdas <mat...@gmail.com>
Date: Tue, 29 Apr 2008 22:05:24 -0700 (PDT)
Local: Wed, Apr 30 2008 1:05 am
Subject: Re: Queryset-refactor branch has been merged into trunk
Thanks for the post! It would have taken me hours to figure out where
to start looking when this error first came up. I made the change to
my SearchQuerySet subclass instead and it works also. I didn't make
the change to SearchManager. My code looks like this if interested.

class SearchQuerySet(models.query.QuerySet):
    def __init__(self, model=None, fields=None, *args, **kwargs):
        super(SearchQuerySet, self).__init__(model,  *args, **kwargs)
        self._search_fields = fields

Also, I was reading the docs on the queryset-refactor branch (http://
code.djangoproject.com/wiki/
QuerysetRefactorBranch#Backwardsincompatiblechanges) and there is a
note at the bottom that says the params argument for extra() will now
only work for the where clause. Since Mercurytide's solution uses
params for both select and where I would expect this to also be a
problem. Surprisingly it still works.

It also works with the new solution which looks like this
select_params=[query],params=[query]

instead of
params=[query,query]

-Matt


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
pemdas  
View profile  
 More options Apr 30 2008, 1:21 am
From: pemdas <mat...@gmail.com>
Date: Tue, 29 Apr 2008 22:21:01 -0700 (PDT)
Local: Wed, Apr 30 2008 1:21 am
Subject: Re: Queryset-refactor branch has been merged into trunk
The above post is in reference to Craig Ogg's post on using the
Mercurytide FullText searching.

    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »

Google Groups - Google Home - Terms of Service - Privacy Policy
©2009 Google