code: def run(addr, port, wsgi_handler, ipv6=False, threading=False, **kwargs):
      
      logger.info('Websocket support is enabled')
      server_address = (addr, port)
      if not threading:
          raise Exception("Django's Websocket server must run with threading enabled")
      httpd_cls = type('WSGIServer', (socketserver.ThreadingMixIn, WSGIServer), {'daemon_threads': True})
      httpd = httpd_cls(server_address, WSGIRequestHandler, ipv6=ipv6)
      httpd.set_app(wsgi_handler)
      httpd.serve_forever()
docs: Function to monkey patch the internal Django command: manage.py runserver