#NEWLINE# def main( settings_module = 'ralph.settings' , force = False ) : #NEWLINE# #INDENT# if force : #NEWLINE# #INDENT# os . environ [ 'DJANGO_SETTINGS_MODULE' ] = settings_module #NEWLINE# #UNINDENT# else : #NEWLINE# #INDENT# os . environ . setdefault ( 'DJANGO_SETTINGS_MODULE' , settings_module ) #NEWLINE# #UNINDENT# from django.core.management import execute_from_command_line #NEWLINE# execute_from_command_line ( sys . argv )