``` view.py file in django project from rest_fra...
# support-questions
s
Copy code
view.py file in django project


from rest_framework.response import Response
from rest_framework.decorators import api_view
from supertokens_python.syncio import get_users_newest_first
from .serializers import GetUserSerializer


@api_view(['GET'])
def get_users(request):
    firstguys = get_users_newest_first()
    serializer = GetUserSerializer(firstguys)
    return Response(serializer.data)
r
hey @shorthair_[] whats the error you are facing?
s
" 'str' object has no attribute 'values' "
r
can you please open an issue about this on our github? We will have a look.
s
okay
thanks