##// END OF EJS Templates
Speed up post hiding, do not load the hidden posts list for each post being processed
Speed up post hiding, do not load the hidden posts list for each post being processed

File last commit:

r2008:5d3c1f7e default
r2082:47f758c2 default
Show More
constants.py
8 lines | 192 B | text/x-python | PythonLexer
import re
FILE_DIRECTORY = 'files/'
REGEX_TAGS = re.compile(r'^[\w\s\d\']+$', re.UNICODE)
REGEX_REPLY = re.compile(r'\[post\](\d+)\[/post\]')
PARAM_PAGE = 'page'
THUMB_SIZES = ((200, 150),)