How to Solve NameError: name 'status' is not defined -- rest_framework
Solution: Import the 'status' module
# Add the following line to the top of your code
from rest_framework import status
For more information:
rest_framework status
# Add the following line to the top of your code
from rest_framework import status
For more information:
rest_framework status