Update config.py
Browse files
config.py
CHANGED
|
@@ -2,7 +2,7 @@ import os
|
|
| 2 |
|
| 3 |
class Config:
|
| 4 |
SECRET_KEY = os.getenv('SECRET_KEY', 'your-secret-key')
|
| 5 |
-
SQLALCHEMY_DATABASE_URI = os.getenv('DATABASE_URL', 'sqlite:////tmp/app.db')
|
| 6 |
SQLALCHEMY_TRACK_MODIFICATIONS = False
|
| 7 |
CELERY_BROKER_URL = os.getenv('CELERY_BROKER_URL', 'redis://localhost:6379/0')
|
| 8 |
CELERY_RESULT_BACKEND = os.getenv('CELERY_RESULT_BACKEND', 'redis://localhost:6379/0')
|
|
|
|
| 2 |
|
| 3 |
class Config:
|
| 4 |
SECRET_KEY = os.getenv('SECRET_KEY', 'your-secret-key')
|
| 5 |
+
SQLALCHEMY_DATABASE_URI = os.getenv('DATABASE_URL', 'sqlite:////tmp/app.db')
|
| 6 |
SQLALCHEMY_TRACK_MODIFICATIONS = False
|
| 7 |
CELERY_BROKER_URL = os.getenv('CELERY_BROKER_URL', 'redis://localhost:6379/0')
|
| 8 |
CELERY_RESULT_BACKEND = os.getenv('CELERY_RESULT_BACKEND', 'redis://localhost:6379/0')
|