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
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
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
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,
4 matches
Mail list logo