· 6 years ago · Apr 08, 2019, 06:08 PM
1# -*- coding: utf-8 -*-
2SECRET_KEY = "BIGSTRING"
3FILE_SERVER_ROOT = 'https://cloud.mydomain.com/seafhttp'
4BRANDING_CSS = 'custom/custom.css'
5
6# Enable Only Office
7ENABLE_ONLYOFFICE = True
8VERIFY_ONLYOFFICE_CERTIFICATE = False
9ONLYOFFICE_APIJS_URL = 'https://office.mydomain.com/web-apps/apps/api/documents/api.js'
10ONLYOFFICE_FILE_EXTENSION = ('doc', 'docx', 'ppt', 'pptx', 'xls', 'xlsx', 'odt', 'fodt', 'odp', 'fodp', 'ods', 'fods')
11ONLYOFFICE_EDIT_FILE_EXTENSION = ('docx', 'pptx', 'xlsx')
12
13DATABASES = {
14 'default': {
15 'ENGINE': 'django.db.backends.mysql',
16 'NAME': 'dbname',
17 'USER': 'dbusername',
18 'PASSWORD': 'apassword',
19 'HOST': '127.0.0.1',
20 'PORT': '3306'
21 }
22}