Re: custom distinct() method

2008-12-12 Thread jamesjacksonn...@gmail.com
Russell, > Song.objects.values('artist').distinct(). I'm nothing less than extremely thankful for a great support! Wish that all would go well for You! best regards, james --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google

Re: custom distinct() method

2008-12-11 Thread Russell Keith-Magee
On Wed, Dec 10, 2008 at 7:58 PM, jamesjacksonn...@gmail.com wrote: > > One example is worth thousand explanations, so, let's say the > situation is as follows: > > class example(models.Model): >artist = models.CharField(max_length=765, blank=True) >song_name = models.CharField(max_length=

Re: custom distinct() method

2008-12-10 Thread jamesjacksonn...@gmail.com
Dear Russell, it's an honor to receive advices from a such a django guru as You are - thanks for devoting your time. > First off - patience. Only 10 hours passed between your original > request and your repeat. This is an international mailing list, we're > spread all over the globe, and we're a

Re: custom distinct() method

2008-12-09 Thread Russell Keith-Magee
On Tue, Dec 9, 2008 at 7:05 PM, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > > please, maybe anyone now how to perform distinct() filtering for > certain attribute(column), not the whole objects(rows)? :) First off - patience. Only 10 hours passed between your original request and your repeat.

Re: custom distinct() method

2008-12-09 Thread jamesjacksonn...@gmail.com
please, maybe anyone now how to perform distinct() filtering for certain attribute(column), not the whole objects(rows)? :) In case not - please tell me what's the best practice when coming to a situation when django orm is not powerfull enough. Can writting custom sql queries become a serious pr