Trivial functions now working under Django 1.5 and rest_framework 2.x