Private
Public Access
1
0

Edited settings.py to make mail processing work

This commit is contained in:
sanderroosendaal
2016-11-05 13:39:18 +01:00
parent a32fdcf636
commit cb4784e214
4 changed files with 94 additions and 51 deletions

View File

@@ -163,6 +163,9 @@ STATIC_ROOT = os.path.join(BASE_DIR, 'static')
STATICFILES_DIRS = [os.path.join(BASE_DIR, 'static'),
os.path.join(BASE_DIR, 'static/plots'),]
MEDIA_URL = '/media/'
MEDIA_ROOT = os.path.join(BASE_DIR, 'media')
BROKER_URL = 'redis://localhost:6379/0'
CELERY_RESULT_BACKEND = 'redis://localhost:6379/0'
@@ -234,3 +237,6 @@ EMAIL_USE_TLS = True
FORECAST_IO_KEY = "bc8196fbd89f11375c7dfc8aa6323c72"
GMAPIKEY = "AIzaSyAgu1w9QSthaGPMLp8y9JedPoMc9sfEgJ8"
# test