Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- DATABASES = {
- 'default': {
- 'ENGINE': 'django.db.backends.mysql',
- 'HOST': 'seatable_db',
- 'PORT': '3306',
- 'USER': 'xxxxxxxx',
- 'PASSWORD': 'xxxxxxxx',
- 'NAME': 'dtable_db',
- 'OPTIONS': {
- 'charset': 'utf8mb4',
- },
- }
- }
- CACHES = {
- 'default': {
- 'BACKEND': 'django_pylibmc.memcached.PyLibMCCache',
- 'LOCATION': 'memcached',
- },
- 'locmem': {
- 'BACKEND': 'django.core.cache.backends.locmem.LocMemCache',
- },
- }
- COMPRESS_CACHE_BACKEND = 'locmem'
- # for dtable-server
- DTABLE_PRIVATE_KEY = 'xxxxxxxx'
- DTABLE_SERVER_URL = 'https://seatable.xxxxxxxx.com/dtable-server/'
- DTABLE_SOCKET_URL = 'https://seatable.xxxxxxxx.com/'
- # for dtable-web
- DTABLE_WEB_SERVICE_URL = 'https://seatable.xxxxxxxx.com/'
- # for seaf-server
- FILE_SERVER_ROOT = 'https://seatable.xxxxxxxx.com/seafhttp/'
- ENABLE_USER_TO_SET_NUMBER_SEPARATOR = True
- PLUGINS_REPO_ID='f24d5f5f-900c-40cc-8c5e-fee4ca75e5d0'
- # Configure user help pages
- HELP_LINK = 'https://seatable.io/help/'
- # Maps Plugin
- DTABLE_GOOGLE_MAP_KEY = 'xxxxxxxx'
- DTABLE_DB_URL = 'https://seatable.xxxxxxxx.com/dtable-db/'
- SESSION_COOKIE_SAMESITE = 'None'
- CSRF_COOKIE_SAMESITE = 'None'
- NEW_DTABLE_IN_STORAGE_SERVER = True
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement