##// END OF EJS Templates
Added banner to show the site news. Returned the message middleware because it...
Added banner to show the site news. Returned the message middleware because it is required to add models over admin site

File last commit:

r1147:24687cf5 default
r1148:94091a42 default
Show More
default_settings.py
23 lines | 695 B | text/x-python | PythonLexer
/ boards / default_settings.py
neko259
Version bump
r1113 VERSION = '2.6.1 Cooper'
neko259
Implemented default settings (BB-51). If no setting is defined in settings.py, the ones from default_settings will be used
r938 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'
neko259
Setting for image view mode: in post (simple) or in popup
r1122 DEFAULT_IMAGE_VIEWER = 'simple'
neko259
Implemented default settings (BB-51). If no setting is defined in settings.py, the ones from default_settings will be used
r938 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
# Thread update
neko259
Disable websocket by default. Use JS thread update when websockets are...
r1147 WEBSOCKETS_ENABLED = False