Merge conflicts

This commit is contained in:
Fergal Moran
2015-11-01 17:03:14 +00:00
7 changed files with 43 additions and 11 deletions

View File

@@ -4,6 +4,7 @@ import mimetypes
from datetime import timedelta
from django.core.urlresolvers import reverse_lazy
from django.conf import global_settings
from dss import storagesettings
from utils import here
@@ -206,3 +207,31 @@ JWT_AUTH = {
'JWT_ALLOW_REFRESH': True,
'JWT_REFRESH_EXPIRATION_DELTA': timedelta(days=30),
}
""" static settings """
CDN_URL = storagesettings.AZURE_ITEM_BASE_URL
MIXIMAGE_URL = '{0}miximages/'.format(CDN_URL)
WAVEFORM_URL = '{0}waveforms/'.format(CDN_URL)
STREAM_URL = '{0}mixes/'.format(CDN_URL)
AUDIO_URL = '{0}mixes/'.format(CDN_URL)
NOTIFICATIONS_FROM_ADDRESS = "admin@deepsouthsounds.com"
CORS_ORIGIN_ALLOW_ALL = True
CORS_ALLOW_CREDENTIALS = True
CORS_ALLOW_HEADERS = (
'x-requested-with',
'content-type',
'cache-control',
'accept',
'origin',
'authorization',
'upload-hash',
'session-id',
'auth-backend',
'x-csrftoken'
)
""" End static settings """