On Feb 2, 6:44 pm, Zbigniew Braniecki <[email protected]> wrote: > How can I overwrite the way Questions are selected so that when they > are returned by Question.objects.get('x') or Question.objects.filter() > or Question.objects.all() they are already joined with > QuestionProperties values?
Try select_related() [1]. Carl [1] http://docs.djangoproject.com/en/dev/ref/models/querysets/#id4 --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/django-users?hl=en -~----------~----~----~----~------~----~------~--~---

