pygal/config_example/config.py

49 wiersze
935 B
Python

import os
BASE_DIR = os.path.dirname(os.path.abspath(__file__))
#
# General settings
#
# APP_NAME is used for logging
APP_NAME = 'pygal'
# SECURITY WARNING: don't run with debug turned on in production!
# DEBUG = False
# SECURITY WARNING: don't run with a dummy secret in production!
# SECRET_KEY = 'define a secret key'
# SECURITY WARNING: don't run with '0.0.0.0' in in production, unless you know what you are doing!
# ALLOWED_HOSTS = ['127.0.0.1', ]
#
# ITEM_ROOT = os.path.join(BASE_DIR, 'data', 'example_data')
#
# Access Right settings
#
# Set this to True to ensure, that unauthenticated users have no permission
# SUSPEND_PUBLIC = True
#
# Style settings
#
# DEFAULT_THEME = 'clear-red'
# THUMBNAIL_SIZES = [137, 175, 250]
# WEBNAIL_SIZES = [450, 1100, 1750]
#
# Content settings
#
# Sorting by name if False
# SORT_BY_DATE = True
# SHOW_IMAGE = True
# SHOW_VIDEO = True
# SHOW_AUDIO = False
# SHOW_OTHER = False