tumblelog may be configured with the following settings
Optional, but recommended; a list of post types you’d like to use. These should take the form of 'app.Model', rather than being full import paths.
Default:
[
'tumblelog.Article',
'tumblelog.Text',
'tumblelog.File',
'tumblelog.Image',
]
Example:
TUMBLELOG_POST_TYPES = [
'tumblelog.Text',
'tumblelog.Image',
'recipes.Recipe',
]
Optional; controls the number of posts displayed per page in the post listing views.
Default:
10
Example:
TUMBLELOG_POSTS_PER_PAGE = 15
Optional; a boolean indicating whether you would like django-taggit to be used.
Default: the value of
'taggit' in settings.INSTALLED_APPS
Example:
TUMBLELOG_USE_TAGGIT = True
Optional; a string used for help_text for each TextField in the contrib post types </contrib>.
Default: ''
TUMBLELOG_TEXTFIELD_HELP_TEXT = 'Uses Markdown'
Optional; an integer indicating the number of seconds tumblelog should cache oEmbed provider responses.
Default: 86400 (1 day)
TUMBLELOG_OEMBED_DEFAULT_CACHE_AGE = 60 * 60 * 24 * 7 # 1 week
Optional; an integer indicating the default width of images retrieved using the Flickr post type. Must be one of ‘640’, ‘500’, ‘240’, ‘100’, or ‘75’.
Default: 640
TUMBLELOG_OEMBED_DEFAULT_CACHE_AGE = 75
Optional; a string indicating the ISO 639-1 code of the default language of Tweets retrieved using the Twitter post type. Currently supported:
Default: 'en'
TUMBLELOG_TWITTER_LANGUAGE = 'ms'
Optional; an integer indicating the default width of tweets embedded using the Twitter post type.
Default: 325
TUMBLELOG_TWITTER_WIDTH = 500
Optional; a string containing a hex triplet used as an accent color with the SoundCloud embed, when using the SoundCloud post type.
Default: ''
TUMBLELOG_SOUNDCLOUD_COLOR = 'FF00FF'
Optional, but recommended; the tumblelog’s name, only used in the RSS feed’s <title> element.
Default: ''
TUMBLELOG_RSS_TITLE = 'five thirty eight'
Optional, but recommended; a description of the tumblelog, only used in the RSS feed’s <description> element.
Default: ''
TUMBLELOG_RSS_DESCRIPTION = 'Rigorous analysis of politics, polling, public affairs, sports, science and culture, largely through statistical means.'
Optional, but recommended; the tumblelog’s primary URL, used to describe the blog in the RSS feed’s <link> element.
Default: ''
TUMBLELOG_RSS_LINK = 'http://fivethirtyeight.blogs.nytimes.com'
Optional; the number of recent posts to include in the RSS feed.
Default: 20
TUMBLELOG_RSS_NUM = 15