Edited settings.py to make mail processing work
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user