Update for DRF 3.0

Fixes tomchristie/django-rest-framework#2131