Update django_orm.py

Allow passing of a function as a transform to generate SQL for a GroupBy statement
Merge pull request #1 from jpulec/patch-1

Update django_orm.py