Replace User by get_user_model
+from django.contrib.auth import get_user_model
from rest_framework import serializers
-from {{ cookiecutter.project_slug }}.users.models import User
+User = get_user_model()
class UserSerializer(serializers.ModelSerializer):
