Fix deprecation warning in DRF
Fix deprecation warning in DRF

See http://www.django-rest-framework.org/topics/3.8-announcement/#deprecations
for details.

pbanaszkiewicz/amy,pbanaszkiewicz/amy,swcarpentry/amy,swcarpentry/amy,swcarpentry/amy,pbanaszkiewicz/amy