##// END OF EJS Templates
Moving neboard to python3 support (no python2 for now until we figure out how...
Moving neboard to python3 support (no python2 for now until we figure out how to make them both work)

File last commit:

r729:d56cc46f 2.0-dev
r765:bb8477db default
Show More
settings.py
22 lines | 709 B | text/x-python | PythonLexer
VERSION = '1.8.1 Kara'
SITE_NAME = 'Neboard'
CACHE_TIMEOUT = 600 # Timeout for caching, if cache is used
LOGIN_TIMEOUT = 3600 # Timeout between login tries
MAX_TEXT_LENGTH = 30000 # Max post length in characters
MAX_IMAGE_SIZE = 8 * 1024 * 1024 # Max image size
# Thread bumplimit
MAX_POSTS_PER_THREAD = 10
# Old posts will be archived or deleted if this value is reached
MAX_THREAD_COUNT = 5
THREADS_PER_PAGE = 3
DEFAULT_THEME = 'md'
LAST_REPLIES_COUNT = 3
# Enable archiving threads instead of deletion when the thread limit is reached
ARCHIVE_THREADS = True
# Limit posting speed
LIMIT_POSTING_SPEED = False
# This password is used to add admin permissions to the user
MASTER_PASSWORD = u'password'