2015-06-26 07:59:53 +00:00
|
|
|
# coding=utf-8
|
2015-08-02 00:50:38 +00:00
|
|
|
import os
|
|
|
|
|
|
|
|
BASE_DIR = os.path.dirname(os.path.dirname(os.path.abspath(__file__)))
|
|
|
|
|
|
|
|
DATABASES = {
|
|
|
|
'default': {
|
|
|
|
'ENGINE': 'django.db.backends.sqlite3',
|
|
|
|
'NAME': os.path.join(BASE_DIR, 'db.sqlite3'),
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2017-05-08 12:37:54 +00:00
|
|
|
|
2017-05-10 09:20:52 +00:00
|
|
|
# For celery
|
2015-12-07 11:15:28 +00:00
|
|
|
REDIS_QUEUE = {
|
|
|
|
"host": "127.0.0.1",
|
|
|
|
"port": 6379,
|
2017-05-10 09:20:52 +00:00
|
|
|
"db": 4
|
2015-12-07 11:15:28 +00:00
|
|
|
}
|
2015-11-29 13:29:26 +00:00
|
|
|
|
2015-08-12 06:01:34 +00:00
|
|
|
DEBUG = True
|
|
|
|
|
2017-01-24 08:11:46 +00:00
|
|
|
ALLOWED_HOSTS = ["*"]
|
2015-09-11 12:34:15 +00:00
|
|
|
|
2017-01-25 08:29:00 +00:00
|
|
|
TEST_CASE_DIR = "/tmp"
|
2015-09-14 05:57:03 +00:00
|
|
|
|
2017-09-19 11:10:50 +00:00
|
|
|
STATICFILES_DIRS = [
|
|
|
|
os.path.join(BASE_DIR, "static"),
|
|
|
|
]
|
|
|
|
|
2017-04-18 17:37:10 +00:00
|
|
|
LOG_PATH = "log/"
|