On 7/07/2011 11:31, Marc Aymerich wrote:
> 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 you
On Thu, Jul 7, 2011 at 3:01 PM, Marc Aymerich wrote:
> https://github.com/robhudson/django-debug-toolbar/commits/master/
>
DDT rocks. Btw, does this fork have any special features when compared with
the Master?
-V
--
You received this message because you are subscribed to the Google Groups
"
On Thu, Jul 7, 2011 at 8:15 AM, Benedict Verheyen
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
On Thu, Jul 7, 2011 at 11:45 AM, Benedict Verheyen <
benedict.verhe...@gmail.com> wrote:
>
> 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.
>
I have much complex relationships, and i dont see any peformance issues.
-V
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.
On 6 July 2011 08:17, Benedict Verheyen wrote:
>
> I have these models (not really but it's to explain my question :))
>
> class Calendar(models.Model):
>name = models.CharField(max_length=60)
>description = models.TextField(blank=True)
>appointment = models.ManyToManyField(Appointmen
Hi,
I have these models (not really but it's to explain my question :))
class Calendar(models.Model):
name = models.CharField(max_length=60)
description = models.TextField(blank=True)
appointment = models.ManyToManyField(Appointment,
related_name='appointment_set')
class Appointmen
7 matches
Mail list logo