Settings

TINYBLOG_FROM_EMAIL (required)

Used to set the “From:” field when sending emails.

TINYBLOG_TITLE (required)

Used in the RSS feed to provide the feed title.

TINYBLOG_AUTHORNAME (required)

Used in the RSS feed for the author name and the copyright notice.

TINYBLOG_DESCRIPTION (required)

Used in the RSS feed to provide the feed description.

TINYBLOG_DISQUS_SHORTNAME

Should be set to the Disqus shortname for the site, if any. Without this setting blogs will not use the Disqus integration, so comments on blog posts will not be supported.

TINYBLOG_SITE_NAME

If django.contrib.sites is not in INSTALLED_APPS, this setting is required, and is used in emails sent by tinyblog.

TINYBLOG_SITE_DOMAIN

If django.contrib.sites is not in INSTALLED_APPS, this setting is required, and is used in emails sent by tinyblog as a link prefix.

TINYBLOG_ALLOWED_TAGS

Set to a list of tags to allow in posts. Defaults to:

TINYBLOG_ALLOWED_TAGS = [
    'a',
    'abbr',
    'acronym',
    'b',
    'blockquote',
    'code',
    'em',
    'i',
    'li',
    'ol',
    'p',
    'strong',
    'ul',
]

This is essentially the default list from bleach, with p added.

TINYBLOG_ALLOWED_ATTRIBUTES

Allows configuring which HTML attributes are allowed in posts. Defaults to:

TINYBLOG_ALLOWED_ATTRIBUTES = {
    'a': ['href', 'title'],
    'abbr': ['title'],
    'acronym': ['title'],
}

TINYBLOG_NO_BLEACH

Set to True to turn off bleaching content altogether. Defaults to False. If this is set, TINYBLOG_ALLOWED_TAGS and TINYBLOG_ALLOWED_ATTRIBUTES have no effect.