Commits

David Chambers  committed db5e472

Alphabetized default settings.

  • Participants
  • Parent commits c27affd

Comments (0)

Files changed (1)

File settings/defaults.py

 
 BASE_URL = 'http://example.com/'
 
-SHORT_URL_BASE = '' # defaults to BASE_URL when set to the empty string
+CACHE_SECONDS = 15 * 60 # set to 0 to disable caching
 
-PATH_TO_POSTS = 'mango/examples'
-PATH_TO_STATIC = 'mango/static'
+CONTACT_FORM = True
 
-SITE_TITLE = 'I Love Mangoes'
-
-PRIMARY_AUTHOR_NAME = 'Admin'
-PRIMARY_AUTHOR_EMAIL = ''
-PRIMARY_AUTHOR_URL = ''
+# http://docs.python.org/library/datetime.html#strftime-and-strptime-behavior
+DISPLAY_DATE_FORMAT = MARKDOWN_DATE_FORMAT = '%d %B %Y' # e.g. 2 April 2010
+DISPLAY_TIME_FORMAT = MARKDOWN_TIME_FORMAT = '%I:%M%p'  # e.g. 6:50pm
 
 DISQUS_API_VERSION = '1.1'
 
-CONTACT_FORM = True
-
-TAGS_PAGE = True
-
 FEED_MAX_POSTS = 20
 
-CACHE_SECONDS = 15 * 60 # set to 0 to disable caching
+KILOBYTE_SIZE = 1000
+
+# http://www.freewisdom.org/projects/python-markdown/Available_Extensions
+MARKDOWN_EXTENSIONS = (
+    'def_list', # definition lists
+    'fenced_code', # fenced code blocks
+)
 
 # Mango imposes no restrictions on the metadata that posts may contain.
 # META_LISTS defines the metadata labels associated with lists. For example,
     'tags',
 )
 
+PATH_TO_POSTS = 'mango/examples'
+PATH_TO_STATIC = 'mango/static'
+
+PRIMARY_AUTHOR_NAME = 'Admin'
+PRIMARY_AUTHOR_EMAIL = ''
+PRIMARY_AUTHOR_URL = ''
+
 # When True, a handful of replacements are made on the title and body of each
 # post. For example, ... is replaced with an ellipsis.
 REPLACEMENTS = True
 
-# http://www.freewisdom.org/projects/python-markdown/Available_Extensions
-MARKDOWN_EXTENSIONS = (
-    # Markdown Extra
-#   'abbr', # abbreviations
-    'def_list', # definition lists
-    'fenced_code', # fenced code blocks
-#   'footnotes',
-#   'tables',
+SHORT_URL_BASE = '' # defaults to BASE_URL when set to the empty string
 
-    # additional
-#   'codehilite'
-#   'rss',
-#   'wikilink',
-)
+SITE_TITLE = 'I Love Mangoes'
 
-# http://docs.python.org/library/datetime.html#strftime-and-strptime-behavior
-DISPLAY_DATE_FORMAT = MARKDOWN_DATE_FORMAT = '%d %B %Y' # e.g. 2 April 2010
-DISPLAY_TIME_FORMAT = MARKDOWN_TIME_FORMAT = '%I:%M%p'  # e.g. 6:50pm
-
-KILOBYTE_SIZE = 1000
+TAGS_PAGE = True