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

Add DRF 3.x compatibility