##// END OF EJS Templates
Cache some of the attachment viewers logic
Cache some of the attachment viewers logic

File last commit:

r2008:5d3c1f7e default
r2014:6b7dd99e default
Show More
constants.py
8 lines | 192 B | text/x-python | PythonLexer
neko259
Added sticker pack functionality
r1951 import re
neko259
Store images as regular attachments instead of separate model
r1590 FILE_DIRECTORY = 'files/'
neko259
Allow using apostrophe in tags
r1962 REGEX_TAGS = re.compile(r'^[\w\s\d\']+$', re.UNICODE)
neko259
Even more refactoring
r2005 REGEX_REPLY = re.compile(r'\[post\](\d+)\[/post\]')
neko259
Refactorings, refactorings...
r2008 PARAM_PAGE = 'page'
THUMB_SIZES = ((200, 150),)