def createsuperuser(settings_module, username, email, bin_env=None, database=None, pythonpath=None, env=None):
 args = ['noinput']
 kwargs = dict(email=email, username=username)
 if database:
  kwargs['database'] = database
 return command(settings_module, 'createsuperuser', bin_env, pythonpath, env, *args, **kwargs)

def createsuperuser ( settings_module , username , email , bin_env = None , database = None , pythonpath = None , env = None ) : args = [ 'noinput' ] kwargs = dict ( email = email , username = username ) if database : kwargs [ 'database' ] = database return command ( settings_module , 'createsuperuser' , bin_env , pythonpath , env , * args , ** kwargs )
create a super user for the database .