mirror of
https://github.com/haiwen/seahub.git
synced 2025-09-13 05:39:59 +00:00
22 lines
518 B
Python
22 lines
518 B
Python
from .settings import *
|
|
|
|
# no cache for testing
|
|
# CACHES = {
|
|
# 'default': {
|
|
# 'BACKEND': 'django.core.cache.backends.dummy.DummyCache',
|
|
# }
|
|
# }
|
|
|
|
# enlarge api throttle
|
|
REST_FRAMEWORK = {
|
|
'DEFAULT_THROTTLE_RATES': {
|
|
'ping': '90000/minute',
|
|
'anon': '90000/minute',
|
|
'user': '90000/minute',
|
|
},
|
|
}
|
|
|
|
# Use static file storage instead of cached, since the cached need to run collect
|
|
# command first.
|
|
STATICFILES_STORAGE = 'django.contrib.staticfiles.storage.StaticFilesStorage'
|