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

Avoid SQL injection #3

Closed iurisilvio closed 11 years ago

iurisilvio commented 11 years ago

I didn't try harder to found a useful example to inject, but I'm sure it is possible to exploit it with a crafted parameter, so you should always escape single quotes.