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