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