Advertisement
Guest User

Untitled

a guest
Apr 8th, 2019
178
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.72 KB | None | 0 0
  1. # -*- coding: utf-8 -*-
  2. SECRET_KEY = "BIGSTRING"
  3. FILE_SERVER_ROOT = 'https://cloud.mydomain.com/seafhttp'
  4. BRANDING_CSS = 'custom/custom.css'
  5.  
  6. # Enable Only Office
  7. ENABLE_ONLYOFFICE = True
  8. VERIFY_ONLYOFFICE_CERTIFICATE = False
  9. ONLYOFFICE_APIJS_URL = 'https://office.mydomain.com/web-apps/apps/api/documents/api.js'
  10. ONLYOFFICE_FILE_EXTENSION = ('doc', 'docx', 'ppt', 'pptx', 'xls', 'xlsx', 'odt', 'fodt', 'odp', 'fodp', 'ods', 'fods')
  11. ONLYOFFICE_EDIT_FILE_EXTENSION = ('docx', 'pptx', 'xlsx')
  12.  
  13. DATABASES = {
  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. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement