Browse Source

Increase max wiki page length to 1 million

merge-requests/76/merge
Deimos 5 years ago
parent
commit
355ddc40ba
  1. 2
      tildes/tildes/schemas/group_wiki_page.py

2
tildes/tildes/schemas/group_wiki_page.py

@ -15,7 +15,7 @@ class GroupWikiPageSchema(Schema):
"""Marshmallow schema for group wiki pages."""
page_name = SimpleString(max_length=PAGE_NAME_MAX_LENGTH)
markdown = Markdown(max_length=100_000)
markdown = Markdown(max_length=1_000_000)
class Meta:
"""Always use strict checking so error handlers are invoked."""

Loading…
Cancel
Save