Updated some CDN urls

This commit is contained in:
Fergal Moran
2015-07-30 22:06:43 +01:00
parent 71fa592f4b
commit c636c4afa2
5 changed files with 42 additions and 12 deletions

View File

@@ -11,12 +11,9 @@ logger = logging.getLogger('dss')
os.environ.setdefault('DJANGO_SETTINGS_MODULE', 'dss.settings')
from django.conf import settings
print 'Connecting to celery app'
app = Celery('dss')
print 'Connected'
# Using a string here means the worker will not have to
# pickle the object when using Windows.
app.config_from_object('django.conf:settings')
app.autodiscover_tasks(lambda: settings.INSTALLED_APPS)
print 'Discovered tasks'