On Thu, Jul 7, 2011 at 8:15 AM, Benedict Verheyen
<benedict.verhe...@gmail.com> wrote:
> On 6/07/2011 12:28, Malcolm Box wrote:
>> I think this should work:
>>
>> Calendar.objects.filter(appointment__owner = request.user)
>>
>> Try it and see.
>>
>> Malcolm
>>
>
> Thanks,
>
>
> I'll see if I can make a test script to test this.
> It's actually a good idea to put in a performance test of some sorts.
>

Hi Benedict,
If you're concerned about the performance of your django apps, I
recomend you this app:
https://github.com/robhudson/django-debug-toolbar/commits/master/

Besides many other interesting things, It shows you the DB queries
that your views perform and how many time takes.


-- 
Marc

-- 
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@googlegroups.com.
To unsubscribe from this group, send email to 
django-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en.

Reply via email to