diff --git a/django/contrib/auth/management/commands/createsuperuser.py b/django/contrib/auth/management/commands/createsuperuser.py
index 3eb8abff06..2fba26b6aa 100644
a
|
b
|
class Command(BaseCommand):
|
186 | 186 | field = self.UserModel._meta.get_field(field_name) |
187 | 187 | user_data[field_name] = field.clean(value, None) |
188 | 188 | |
189 | | self.UserModel._default_manager.db_manager(database).create_superuser(**user_data) |
| 189 | self.UserModel._default_manager.db_manager(database).create_superuser(username, **user_data) |
190 | 190 | if options['verbosity'] >= 1: |
191 | 191 | self.stdout.write("Superuser created successfully.") |
192 | 192 | except KeyboardInterrupt: |