def METHOD_NAME(self, *args, **options):
    from django.conf import settings
    from django.utils import translation
    if not conf.ENABLE_SERVER.get():
      logging.info("Hue is configured to not start its own web server.")
      sys.exit(0)
    # Activate the current language, because it won't get activated later.
    try:
        translation.activate(settings.LANGUAGE_CODE)
    except AttributeError:
        pass
    runcpserver(args)