This is because of a change in django-rest-framework latest version.