added django rest api class