Actions
Issue #7179
closedSet a default DJANGO_SETTINGS_MODULE in content app
Start date:
Due date:
Estimated time:
Severity:
2. Medium
Version:
Platform Release:
OS:
Triaged:
No
Groomed:
No
Sprint Candidate:
No
Tags:
Sprint:
Quarter:
Description
The API service use the WSGI entry point which sets a default env var for DJANGO_SETTINGS_MODULE which means the service file doesn't need to set this. The content application doesn't and that means it needs to be set in the service file. Setting this makes configuration easier.
Actions
Set a default DJANGO_SETTINGS_MODULE env var in content app
This aligns the content service to the WSGI service (API) which already sets a default env var for DJANGO_SETTINGS_MODULE. By providing a default, the systemd service doesn't have to duplicate this and makes configuration easier.
fixes #7179