Project

Profile

Help

Issue #7179

closed

Set a default DJANGO_SETTINGS_MODULE in content app

Added by ekohl over 4 years ago. Updated over 4 years ago.

Status:
CLOSED - CURRENTRELEASE
Priority:
Normal
Assignee:
-
Category:
-
Sprint/Milestone:
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 #1

Updated by pulpbot over 4 years ago

  • Status changed from NEW to POST

Added by Ewoud Kohl van Wijngaarden over 4 years ago

Revision 6a2e7f30 | View on GitHub

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

Actions #2

Updated by Anonymous over 4 years ago

  • Status changed from POST to MODIFIED
Actions #3

Updated by dkliban@redhat.com over 4 years ago

  • Sprint/Milestone set to 3.6.0
Actions #4

Updated by pulpbot over 4 years ago

  • Status changed from MODIFIED to CLOSED - CURRENTRELEASE

Also available in: Atom PDF