Beispiel #1
0
 def handle(self, *args, **kwargs):
     log.debug("Available tubes: %s", ", ".join(list_tubes()))
     dispatcher = TubeDispatcher()
     dispatcher.run()
Beispiel #2
0
 def get(self, *args, **kwargs):
     return HttpResponse(json.dumps(list_tubes()))