Add DRF 3.x compatibility
Merge pull request #1 from astagi/fixfordrf3.x

Add DRF 3.x compatibility