settings.py
22 lines
| 658 B
| text/x-python
|
PythonLexer
/ boards / settings.py
|
r860 | VERSION = '2.2 Miyu' | ||
|
r716 | SITE_NAME = 'Neboard' | ||
|
r333 | 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 | ||||
|
r716 | |||
# 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 | ||||
|
r725 | ARCHIVE_THREADS = True | ||
# Limit posting speed | ||||
|
r729 | LIMIT_POSTING_SPEED = False | ||
|
r853 | # Thread update | ||
|
r860 | WEBSOCKETS_ENABLED = True | ||