fixup
Install Django fixup if settings module environment is set.
def fixup(
app: Celery,
env: str = 'DJANGO_SETTINGS_MODULE'
) - > Optional[DjangoFixup]
Install Django fixup if settings module environment is set.
Parameters
| Name | Type | Description |
|---|---|---|
| app | Celery | The Celery application instance to which the Django fixup will be applied |
| env | str = 'DJANGO_SETTINGS_MODULE' | The environment variable name to check for Django settings configuration |
Returns
| Type | Description |
|---|---|
Optional[DjangoFixup] | An instance of the installed DjangoFixup if successful, otherwise None |