Commit 154fe14f authored by Georgios D. Tsoukalas's avatar Georgios D. Tsoukalas Committed by Christos Stavrakakis
Browse files

cyclades: init dispatcher with DJANGO_SETINGS_MODULE

parent ff9efcbc
......@@ -36,15 +36,15 @@ and implements the message wait and dispatch loops. Actual messages are
handled in the dispatched functions.
from import setup_environ
# Fix path to import synnefo settings
import sys
import os
path = os.path.normpath(os.path.join(os.getcwd(), '..'))
os.environ['DJANGO_SETTINGS_MODULE'] = 'synnefo.settings'
from django.conf import settings
from django.db import close_connection
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment