mirror of
https://github.com/DMOJ/online-judge.git
synced 2024-11-25 16:32:37 +08:00
24 lines
527 B
Python
24 lines
527 B
Python
COMPRESS_OUTPUT_DIR = 'cache'
|
|
STATICFILES_FINDERS += ('compressor.finders.CompressorFinder',)
|
|
STATIC_ROOT = os.path.join(BASE_DIR, 'static')
|
|
|
|
CACHES = {
|
|
'default': {
|
|
'BACKEND': 'django.core.cache.backends.locmem.LocMemCache'
|
|
}
|
|
}
|
|
|
|
DATABASES = {
|
|
'default': {
|
|
'ENGINE': 'django.db.backends.mysql',
|
|
'NAME': 'dmoj',
|
|
'USER': 'root',
|
|
'PASSWORD': 'root',
|
|
'HOST': 'localhost',
|
|
'PORT': '3306',
|
|
'OPTIONS': {
|
|
'charset': 'utf8mb4',
|
|
},
|
|
},
|
|
}
|