Python Galery
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

config.py 634B

1234567891011121314151617181920212223242526272829303132
  1. import os
  2. BASE_DIR = os.path.dirname(os.path.abspath(__file__))
  3. #
  4. # General settings
  5. #
  6. # SECRET_KEY = 'define a secret key'
  7. #
  8. # ITEM_ROOT = os.path.join(BASE_DIR, 'data', 'example_data')
  9. # ALLOWED_HOSTS = []
  10. #
  11. # Access Right settings
  12. #
  13. # SUSPEND_PUBLIC = True # Set this to True to ensure, that unauthenticated users have no permission
  14. #
  15. # Style settings
  16. #
  17. # DEFAULT_THEME = 'clear-red'
  18. # THUMBNAIL_SIZES = [137, 175, 250]
  19. # WEBNAIL_SIZES = [450, 1100, 1750]
  20. #
  21. # Content settings
  22. #
  23. # SORT_BY_DATE = True # Sorting by name if False
  24. # SHOW_IMAGE = True
  25. # SHOW_VIDEO = True
  26. # SHOW_AUDIO = False
  27. # SHOW_OTHER = False