django-rest-framework 3.0 compatibility