import response django code example Example: Django import Response from rest_framework.response import Response