old_contents: from django.shortcuts import render
  
  # Create your views here.
  
new_contents: from django.contrib.auth.models import User
  
  from rest_framework import viewsets
  from rest_framework import permissions
  
  from auth.serializers import UserProfileSerializer
  from auth.models import UserProfile
  
  class UserProfileViewSet(viewsets.ModelViewSet):
      """
      A viewset for viewing and modifing user instances.
      """
      serializer_class = UserProfileSerializer
      queryset = UserProfile.objects.all()
      permission_classes = [permissions.AllowAny]
  
subject: Add UserProfileViewSet