Index: django/contrib/auth/management/commands/__init__.py
===================================================================
Index: django/contrib/auth/management/commands/createsuperuser.py
===================================================================
--- django/contrib/auth/management/commands/createsuperuser.py	(revision 0)
+++ django/contrib/auth/management/commands/createsuperuser.py	(revision 0)
@@ -0,0 +1,22 @@
+from django.core.management.base import BaseCommand
+from optparse import make_option
+from django.contrib.auth.create_superuser import createsuperuser
+
+class Command(BaseCommand):
+    option_list = BaseCommand.option_list + (
+        make_option('--username', dest='username', default=None,
+            help='Specifies the username for the superuser.'),
+        make_option('--password', dest='password', default=None,
+            help='Specifies the password for the superuser.'),
+        make_option('--email', dest='email', default=None,
+            help='Specifies the email address for the superuser.'),
+    )
+    help = 'Used to create a superuser.'
+
+    def handle(self, *args, **options):
+        username = options.get('username', None)
+        password = options.get('password', None)
+        email = options.get('email', None)
+
+        createsuperuser(username=username, password=password, email=email)
+
Index: django/contrib/auth/management/__init__.py
===================================================================
