Working with DRF,using api based views