Recently i have to use Django REST Framework on my college project. Since the project requires me to follow…