diff --git a/django/contrib/auth/management/__init__.py b/django/contrib/auth/management/__init__.py
index 78a51cf..e792597 100644
a
|
b
|
def create_permissions(app, created_models, verbosity, **kwargs):
|
57 | 57 | print "Adding permission '%s'" % obj |
58 | 58 | |
59 | 59 | |
60 | | def create_superuser(app, created_models, verbosity, **kwargs): |
| 60 | def create_superuser(app, created_models, verbosity, db, **kwargs): |
61 | 61 | from django.core.management import call_command |
62 | 62 | |
63 | 63 | if auth_app.User in created_models and kwargs.get('interactive', True): |
… |
… |
def create_superuser(app, created_models, verbosity, **kwargs):
|
70 | 70 | confirm = raw_input('Please enter either "yes" or "no": ') |
71 | 71 | continue |
72 | 72 | if confirm == 'yes': |
73 | | call_command("createsuperuser", interactive=True) |
| 73 | call_command("createsuperuser", interactive=True, database=db) |
74 | 74 | break |
75 | 75 | |
76 | 76 | |