diff --git a/django/contrib/auth/management/__init__.py b/django/contrib/auth/management/__init__.py
index 029b4bb..5f75907 100644
a
|
b
|
def create_superuser(app_config, verbosity=2, interactive=True, using=DEFAULT_DB
|
135 | 135 | "now? (yes/no): ") |
136 | 136 | confirm = input(msg) |
137 | 137 | while 1: |
138 | | if confirm not in ('yes', 'no'): |
| 138 | first_letter = confirm[:1] |
| 139 | if first_letter not in ('y', 'n'): |
139 | 140 | confirm = input('Please enter either "yes" or "no": ') |
140 | 141 | continue |
141 | | if confirm == 'yes': |
| 142 | if first_letter == 'y': |
142 | 143 | call_command("createsuperuser", interactive=True, database=using) |
143 | 144 | break |
144 | 145 | |