code: def user_post_save(sender, **kwargs):
      
  
      # Disable post_save during manage.py loaddata
      if kwargs.get("raw", False):
          return False
  
      user, created = kwargs["instance"], kwargs["created"]
      disabled = getattr(user, "_disable_account_creation", not settings.ACCOUNT_CREATE_ON_SAVE)
      if created and not disabled:
          Account.create(user=user)
docs: After User.save is called we check to see if it was a created user. If so,
      we check if the User object wants account creation. If all passes we
      create an Account object.
  
      We only run on user creation to avoid having to check for existence on
      each call to User.save.