diff options
Diffstat (limited to 'django/utils')
| -rw-r--r-- | django/utils/text.py | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/django/utils/text.py b/django/utils/text.py index ef4baa935b..cfe6ceca9e 100644 --- a/django/utils/text.py +++ b/django/utils/text.py @@ -185,14 +185,8 @@ class TruncateWordsHTMLParser(TruncateHTMLParser): class Truncator(SimpleLazyObject): """ An object used to truncate text, either by characters or words. - - When truncating HTML text (either chars or words), input will be limited to - at most `MAX_LENGTH_HTML` characters. """ - # 5 million characters are approximately 4000 text pages or 3 web pages. - MAX_LENGTH_HTML = 5_000_000 - def __init__(self, text): super().__init__(lambda: str(text)) |
