input: Write a function to create a Django user with a username, email, and password and save it to the database.
  assert create_user('user1', 'user1@example.com', 'password123') == True
  assert create_user('user2', 'user2@example.com', 'password456') == True
  assert create_user('user3', 'user3@example.com', 'password789') == True
output: def create_user(username, email, password):
      from django.contrib.auth.models import User
      try:
          user = User.objects.create_user(username=username, email=email, password=password)
          user.save()
          return True
      except Exception as e:
          return False