the complex query? What are some gotchas that I need to
watch out for?
Thanks,
Suriya Subramanian
--
You received this message because you are subscribed to the Google Groups
"Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to dj
My question: Is there a way to programmatically construct the complex
>> queries. I see that I can get the generated SQL and parameters by invoking
>> SQLCompiler.as_sql(). Can I invoke as_sql() on the individual query sets
>> and then construct the complex query? What are some got
on of Django while you update the hack for the new
> version of Django or (better) rewrite it to use supported APIs.
>
> Regards,
> Michael Manfre
>
> On Monday, May 4, 2015 at 7:17:49 AM UTC-4, Suriya Subramanian wrote:
>>
>> Hi Russ,
>>
>> Thank y
I have a question about how order_by(), distinct(), and filter() interact.
This question is applicable only to the PostgreSQL backend since the
Queryset is constructed by passing filed arguments to
distinct().
https://docs.djangoproject.com/en/1.8/ref/models/querysets/#distinct
In the other ba
I found a way to express the second query in the ORM.
Person.objects.filter(sex='F', pk__in=tallest_people)
Thanks,
Suriya
On Monday, June 1, 2015 at 12:13:49 PM UTC+5:30, Suriya Subramanian wrote:
>
> I have a question about how order_by(), distinct(), and filter() interact.
&g
Hi,
I think there is a bug in how 'block' and 'include' template tags interact
in the Django Template Language. I have created a Gist showing this
issue: https://gist.github.com/anonymous/2627bb35955db77dbfaa
The order of the files in the Gist can be a bit confusing. I will explain
what I am t
I got the answer on IRC that this is not a bug as explained in the
documentation for
include https://docs.djangoproject.com/en/1.8/ref/templates/builtins/#include
Suriya
On Thursday, September 10, 2015 at 2:55:42 PM UTC+5:30, Suriya Subramanian
wrote:
>
> Hi,
>
> I think there is
7 matches
Mail list logo