henriquebastos / django-aggregate-if

Conditional aggregates for Django queries, just like the famous SumIf and CountIf in Excel.
MIT License
138 stars 17 forks source link

Update README.rst #7

Closed mauler closed 10 years ago

henriquebastos commented 10 years ago

Could you comment on your PR?

mauler commented 10 years ago

The usage example on README.rst always returns the dict with key 'pk__count' because there is no alias defined when all parameters where passed to aggregate function as args and not keyword args.

I took time to figure out what was happening.