Re: magic-removal - count with a condition

2006-04-04 Thread Istvan
great, thanks for the tip --~--~-~--~~~---~--~~ 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 [EMAIL

Re: magic-removal - count with a condition

2006-04-04 Thread Max Battcher
Istvan wrote: > In Django 0.91 the > > foos.get_count( complex=condition ) > > was a valid construct. The magic removal branch raises an exception: > "count() takes exactly 1 argument (2 given)" when doing a : > > foo.objects.count( condition ) > > Is that intended? What would be a workaround?

magic-removal - count with a condition

2006-04-04 Thread Istvan
In Django 0.91 the foos.get_count( complex=condition ) was a valid construct. The magic removal branch raises an exception: "count() takes exactly 1 argument (2 given)" when doing a : foo.objects.count( condition ) Is that intended? What would be a workaround? i. --~--~-~--~~---