PageRenderTime 10ms CodeModel.GetById 7ms app.highlight 1ms RepoModel.GetById 1ms app.codeStats 0ms

/docs/ref/contrib/comments/settings.txt

https://code.google.com/p/mango-py/
Plain Text | 33 lines | 23 code | 10 blank | 0 comment | 0 complexity | 2dabb943ad37e4e1e58e5b0e26b5f247 MD5 | raw file
 1================
 2Comment settings
 3================
 4
 5These settings configure the behavior of the comments framework:
 6
 7.. setting:: COMMENTS_HIDE_REMOVED
 8
 9COMMENTS_HIDE_REMOVED
10---------------------
11
12If ``True`` (default), removed comments will be excluded from comment
13lists/counts (as taken from template tags). Otherwise, the template author is
14responsible for some sort of a "this comment has been removed by the site staff"
15message.
16
17.. setting:: COMMENT_MAX_LENGTH
18
19COMMENT_MAX_LENGTH
20------------------
21
22The maximum length of the comment field, in characters. Comments longer than
23this will be rejected. Defaults to 3000.
24
25.. setting:: COMMENTS_APP
26
27COMMENTS_APP
28------------
29
30An app which provides :doc:`customization of the comments framework
31</ref/contrib/comments/custom>`.  Use the same dotted-string notation
32as in :setting:`INSTALLED_APPS`.  Your custom :setting:`COMMENTS_APP`
33must also be listed in :setting:`INSTALLED_APPS`.