fixing breaks from django rest framework 3.0