core.installed_apps
Overview
Helpers for checking optional VUEDA Django apps.
is_installed
Return whether Django is configured to install app_name.
Signature
is_installed(app_name)
Parameters
| Name | Type | Required | Default | Description |
|---|---|---|---|---|
| app_name | str | yes |
Returns
bool
Source
server/vueda/core/installed_apps.py:15
vdq_is_installed
Return whether the VUEDA Dispatch Queue app is installed.
Signature
vdq_is_installed()
Returns
bool
Source
server/vueda/core/installed_apps.py:50
workflow_enabled
Return whether model participates in workflow through class Vueda.Workflow.
Accepts a model class or instance. Returns False when the workflow app is not installed, since the Workflow section is then unregistered, and for a model outside the VUEDA model family. A proxy answers for its concrete model.
Signature
workflow_enabled(model)
Parameters
| Name | Type | Required | Default | Description |
|---|---|---|---|---|
| model | yes |
Returns
bool
Source
server/vueda/core/installed_apps.py:30
workflow_is_installed
Return whether the VUEDA workflow app is installed.
Signature
workflow_is_installed()
Returns
bool
Source
server/vueda/core/installed_apps.py:25
Source
server/vueda/core/installed_apps.py