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
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=
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
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.
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
Here comes the question about the proper usage of queryset's distinct
() method. As i have a queryset model.objects.filter
(column='name').distinct() , the distinct method is applied to whole
objects, but i'd like it to be applied to column. Django makes SQL
query "SELECT DISTINCT column, column2,
6 matches
Mail list logo