code: def create_profile(self, user, save=False, **kwargs):
          
          profile = self.get_model()(user=user, **kwargs)
  
          if save:
              profile.save()
  
          return profile
docs: Create a profile model.
  
          :param user: A user object
          :param save: If this is set, the profile will
              be saved to DB straight away
          :type save: bool