Esempio n. 1
0
    def ready(self):
        setup_create_singleton_objects()
        setup_create_default_superuser()
        monkey_patch_db_cursor()
        # to initialize locks

        colorama.init(autoreset=True)

        import otree.checks
        otree.checks.register_system_checks()
        patch_template_silent_failures()
Esempio n. 2
0
    def ready(self):
        setup_create_singleton_objects()
        setup_create_default_superuser()
        patch_raven_config()
        monkey_patch_static_tag()
        monkey_patch_db_cursor()
        # to initialize locks

        colorama.init(autoreset=True)

        import otree.checks
        otree.checks.register_system_checks()
        patch_template_silent_failures()
Esempio n. 3
0
    def ready(self):
        setup_create_singleton_objects()
        setup_create_default_superuser()
        monkey_patch_db_cursor()

        colorama.init(autoreset=True)

        import otree.checks

        otree.checks.register_system_checks()
        patch_template_silent_failures()

        # initialize browser bot worker in process memory
        import otree.bots.browser

        otree.bots.browser.browser_bot_worker = otree.bots.browser.BotWorker()