Tring to change to django-rest-framework