Exemplo n.º 1
0
 def handle(self, *args, **options):
     """
     This function prepares the options for running the service
     and if needed delegates the whole procedure to `runserver`
     """
     runserver = Runserver()
     runserver.stdout = sys.stdout
     runserver.handle('0.0.0.0:8000', *args, **options)