Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # -*- coding: utf-8 -*-
- SECRET_KEY = "BIGSTRING"
- FILE_SERVER_ROOT = 'https://cloud.mydomain.com/seafhttp'
- BRANDING_CSS = 'custom/custom.css'
- # Enable Only Office
- ENABLE_ONLYOFFICE = True
- VERIFY_ONLYOFFICE_CERTIFICATE = False
- ONLYOFFICE_APIJS_URL = 'https://office.mydomain.com/web-apps/apps/api/documents/api.js'
- ONLYOFFICE_FILE_EXTENSION = ('doc', 'docx', 'ppt', 'pptx', 'xls', 'xlsx', 'odt', 'fodt', 'odp', 'fodp', 'ods', 'fods')
- ONLYOFFICE_EDIT_FILE_EXTENSION = ('docx', 'pptx', 'xlsx')
- DATABASES = {
- 'default': {
- 'ENGINE': 'django.db.backends.mysql',
- 'NAME': 'dbname',
- 'USER': 'dbusername',
- 'PASSWORD': 'apassword',
- 'HOST': '127.0.0.1',
- 'PORT': '3306'
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement