new_contents: # -*- coding: utf-8 -*-
  import factory
  
  from django.contrib.auth import get_user_model
  
  
  class UserFactory(factory.django.DjangoModelFactory):
      username = factory.Faker("user_name")
      email = factory.Faker("email")
      first_name = factory.Faker("first_name")
      last_name = factory.Faker("last_name")
  
      class Meta:
          model = get_user_model()
  
subject: Create UserFactory.