Files
project_v19/saas_trial_portal/hooks.py
T
2026-07-01 14:41:49 +07:00

8 lines
316 B
Python

# -*- coding: utf-8 -*-
def post_init_hook(env):
"""Runs once right after this module is installed, so the /trial
'Choose your Apps' page is populated immediately with whatever apps
are already installed internally - no waiting for the 6h cron.
"""
env['saas.app']._sync_from_installed_modules()