Configuration¶
All configuration options for simple forums should be placed in a dictionary called SIMPLE_FORUMS in settings.py. Example:
SIMPLE_FORUMS = {
'markup_renderer': 'simple_forums.markup_renderers.MarkdownRenderer',
}
Available Settings¶
- markdown_extensions (=[‘pymdownx.github’])
- A list of extensions to process markdown with. Only has an effect if
MarkdownRendereris used. The default list of extensions is defined insimple_forums.markup_renderers.MarkdownRenderer.DEFAULT_EXTENSIONS. - markup_renderer (=’simple_forums.backends.renderers.TextRenderer’)
This class specifies which form of markup should be used to render posts. Currently there is a choice between plain text and Markdown.
- Choices:
'simple_forums.backends.renderers.MarkdownRenderer''simple_forums.backends.renderers.TextRenderer'
- search_backend
- A dictionary containing the settings for the search engine to use. See the Searching section for more details.