[Django]-ImportError: cannot import name UserSerializer while creating a demo rest api

3👍

make sure the info is actually in the serializers.py and tutorial is project name and quickstart your app name

Then you can just write

from .serializers import UserSerializer, GroupSerializer
👤Eden

0👍

You need to remove the word “tutorial” from it. Use:

from quickstart.serializers import UserSerializer, GroupSerializer

Leave a comment