Make it compatible with django rest framework 3.0.0
Merge pull request #16 from guits/master

Make it compatible with django rest framework 3.0.0