dump update

This commit is contained in:
Tuan-Dung Bui 2023-04-15 18:35:02 +07:00
parent 7680ba4bb0
commit c3b7d465b1
784 changed files with 35 additions and 18 deletions

11
dmoj/settings.py Normal file → Executable file
View file

@ -421,7 +421,16 @@ STATICFILES_DIRS = [
STATIC_URL = "/static/"
# Define a cache
CACHES = {}
CACHES = {
"default": {
"BACKEND": "django.core.cache.backends.memcached.PyMemcacheCache",
"LOCATION": [
"172.19.26.240:11211",
"172.19.26.242:11212",
"172.19.26.244:11213",
],
}
}
# Authentication
AUTHENTICATION_BACKENDS = (