Add DRF 3.x compatibility