##// END OF EJS Templates
Some more constant extracts
Some more constant extracts

File last commit:

r1997:be673d04 default
r2003:3c9f075c default
Show More
constants.py
4 lines | 142 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
Unify thread and post creation into one method inside post manager, that can be called from almost anywhere (one step closer to ajax thread creation)
r1997 REGEX_REPLY = re.compile(r'\[post\](\d+)\[/post\]')