mirror of
https://github.com/fergalmoran/dss.api.git
synced 2025-12-25 18:58:19 +00:00
Updated some CDN urls
This commit is contained in:
@@ -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'
|
||||
|
||||
Reference in New Issue
Block a user