Skip to content

constants

Application constants.

IS_LOCAL_ENVIRONMENT module-attribute

IS_LOCAL_ENVIRONMENT = case_insensitive_string_compare(app.ENVIRONMENT, app.LOCAL_ENVIRONMENT_NAME)

Flag indicating if application is running in local development mode.

IS_TEST_ENVIRONMENT module-attribute

IS_TEST_ENVIRONMENT = case_insensitive_string_compare(app.ENVIRONMENT, app.TEST_ENVIRONMENT_NAME)

Flag indicating if the application is running in a test environment.