重命名工程 qduoj -> oj

This commit is contained in:
virusdefender
2015-08-02 08:59:01 +08:00
parent 4f40f28a8a
commit 4d2a5c129e
7 changed files with 5 additions and 9 deletions

19
oj/local_settings.py Normal file
View File

@@ -0,0 +1,19 @@
# coding=utf-8
import os
LOG_PATH = "LOG/"
# Database
# https://docs.djangoproject.com/en/1.8/ref/settings/#databases
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'),
'CONN_MAX_AGE': 1,
}
}
# SECURITY WARNING: don't run with debug turned on in production!
DEBUG = True