Skip to content

angee.compose.apps

Django app config for the Angee composer.

ComposeConfig

python
class ComposeConfig(AppConfig)

Bootstrap composed runtime models during app population.

import_models

python
def import_models() -> None

Emit the runtime if stale, then import the generated models.

Runs in app-populate phase 2. emit_if_stale is write-only and idempotent, so a fresh or drifted runtime is healed file by file before it is imported — the runtime is always freshly rendered from the abstract sources before it is loaded. There is no build/run app-set split, and a missing runtime never surfaces as a cryptic AUTH_USER_MODEL resolution error: the swappable models exist by the time Django resolves them.

Released under the AGPL-3.0 License.