settings.txt 941 B

123456789101112131415161718192021222324252627282930313233
  1. ================
  2. Comment settings
  3. ================
  4. These settings configure the behavior of the comments framework:
  5. .. setting:: COMMENTS_HIDE_REMOVED
  6. COMMENTS_HIDE_REMOVED
  7. ---------------------
  8. If ``True`` (default), removed comments will be excluded from comment
  9. lists/counts (as taken from template tags). Otherwise, the template author is
  10. responsible for some sort of a "this comment has been removed by the site staff"
  11. message.
  12. .. setting:: COMMENT_MAX_LENGTH
  13. COMMENT_MAX_LENGTH
  14. ------------------
  15. The maximum length of the comment field, in characters. Comments longer than
  16. this will be rejected. Defaults to 3000.
  17. .. setting:: COMMENTS_APP
  18. COMMENTS_APP
  19. ------------
  20. An app which provides :doc:`customization of the comments framework
  21. </ref/contrib/comments/custom>`. Use the same dotted-string notation
  22. as in :setting:`INSTALLED_APPS`. Your custom :setting:`COMMENTS_APP`
  23. must also be listed in :setting:`INSTALLED_APPS`.