Coding Challenge with django rest framework