ng a django app with twitter.
--
Gianluca Sforna
http://morefedora.blogspot.com
http://identi.ca/giallu - http://twitter.com/giallu
--
You received this message because you are subscribed to the Google Groups
"Django users" group.
To post to this group, send email to django-users@googleg
_column=42)
object_list = ObjectModel.filter(q1 & q2)
more info at:
https://docs.djangoproject.com/en/dev/topics/db/queries/#filters-can-reference-fields-on-the-model
https://docs.djangoproject.com/en/dev/topics/db/queries/#complex-lookups-with-q-objects
--
Gianluca Sforna
http://morefedora.
more an apache question than a django question, however I
think you're missing to let the server actually listen on port 9000.
Try adding a line like:
Listen 9000
outside your virtualhost directive.
See http://httpd.apache.org/docs/2.2/bind.html#virtualhost for details
--
Gianluca Sforna
http://mor
uot;."name" FROM
"molserv_parent" WHERE NOT ("molserv_parent"."id" IN (SELECT
U1."parent_id" FROM "molserv_child" U1 WHERE (U1."gender" = f AND
U1."parent_id" IS NOT NULL)))
--
Gianluca Sforna
http://morefedora.blo
NOT NULL)))
In [18]: f2 = Parent.objects.exclude(q)
In [19]: print f2.query
SELECT "molserv_parent"."id", "molserv_parent"."name" FROM
"molserv_parent" INNER JOIN "molserv_child" ON ("molserv_parent"."id"
= "mo
the second syntax yields the desired result set. Are
the above forms supposed to produce comparable queryset?
Thanks in advance
G.
--
Gianluca Sforna
http://morefedora.blogspot.com
http://identi.ca/giallu - http://twitter.com/giallu
--
You received this message because you are subscribed
6 matches
Mail list logo