Utils for django-rest-framewok