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