Update Celery process to use the production settings by default
This commit is contained in:
@@ -6,7 +6,7 @@ import django
|
||||
from celery import Celery
|
||||
from django.conf import settings
|
||||
|
||||
os.environ.setdefault('DJANGO_SETTINGS_MODULE', 'mayan.settings')
|
||||
os.environ.setdefault('DJANGO_SETTINGS_MODULE', 'mayan.settings.production')
|
||||
|
||||
app = Celery('mayan')
|
||||
|
||||
|
||||
Reference in New Issue
Block a user