How to Solve NameError: name 'GroupSerializer' is not defined -- tutorial
Solution: Import the 'GroupSerializer' module
To Solve the error, add the following line to the top of your code.
from tutorial import GroupSerializer
For more information:
Python tutorial GroupSerializer