support infinite length posts and comments (fixes #229)
This commit is contained in:
parent
44919507e9
commit
bfe8fb70f6
14 changed files with 99 additions and 32 deletions
|
@ -59,6 +59,10 @@ PUSHER_KEY = environ.get("PUSHER_KEY", "").strip()
|
|||
DEFAULT_COLOR = environ.get("DEFAULT_COLOR", "fff").strip()
|
||||
COLORS = {'ff66ac','805ad5','62ca56','38a169','80ffff','2a96f3','eb4963','ff0000','f39731','30409f','3e98a7','e4432d','7b9ae4','ec72de','7f8fa6', 'f8db58','8cdbe6', DEFAULT_COLOR}
|
||||
|
||||
SUBMISSION_BODY_LENGTH_MAXIMUM: Final[int] = 20000
|
||||
COMMENT_BODY_LENGTH_MAXIMUM: Final[int] = 10000
|
||||
MESSAGE_BODY_LENGTH_MAXIMUM: Final[int] = 10000
|
||||
|
||||
ERROR_MESSAGES = {
|
||||
400: "That request was bad and you should feel bad",
|
||||
401: "You need an account for this. Please make one!",
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue