Re: good django twitter login tutorial

2011-09-26 Thread Gianluca Sforna
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

Re: Weird join conditions

2011-07-02 Thread Gianluca Sforna
_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.

Re: How to setup the django progject to apache2

2011-05-01 Thread Gianluca Sforna
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

Re: Using Q objects vs explicit filters

2011-04-14 Thread Gianluca Sforna
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

Re: Using Q objects vs explicit filters

2011-04-14 Thread Gianluca Sforna
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

Using Q objects vs explicit filters

2011-04-13 Thread Gianluca Sforna
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