How to Solve NameError: name 'Group' is not defined -- django
Solution: Import the 'Group' module
# Add the following line to the top of your code
from django.contrib.auth.models import Group
For more information:
django Group
# Add the following line to the top of your code
from django.contrib.auth.models import Group
For more information:
django Group