add support for django rest framework v2