added django rest framework support