fairdm.apps#

Application config for the FairDM framework app.

Module Contents#

Classes#

FairDMConfig

Wire the FairDM framework into Django’s startup.

Data#

API#

NON_PRODUCTION_ENVIRONMENTS#

‘frozenset(…)’

class FairDMConfig(app_name, app_module)[source]#

Bases: django.apps.AppConfig

Wire the FairDM framework into Django’s startup.

Initialization

name#

‘fairdm’

resolved_environment() → str[source]#

Return the environment fairdm.setup() resolved, defaulting to production.

Returns: The value of the DJANGO_ENV setting.

import_models() → None[source]#

Re-check the parler language settings before any model imports parler.

ready() → None[source]#

Discover portal config and plugin modules and install FairDM’s startup hooks.