adding report function from django-report-builder