# -*- encoding: utf-8 mode: python -*- import os.path PROJECT_ROOT = os.path.normpath(os.path.dirname(__file__)) DATABASE_ENGINE = 'mysql' DATABASE_NAME = 'web_brains' DATABASE_USER = 'web' DATABASE_PASSWORD = 'web-**' BLOG_NAME = u'Веб-мозги' TAGLINE = u'Блог про питон и джангу' FOOTER = u'(c) 2007-2008 Grigoriy Petukhov' DEFAULT_FROM_EMAIL = u'%s ' % BLOG_NAME # Uncomment to get reports of errors by email ADMINS = (('Grigoriy', 'lizendir@gmail.com'), ) # You may place templates for rendering HTML to the ../themes/{{ THEME }}/ directory. # They will override the templates with the same name from ../templates/ directory. THEME = 'lite' # Sample static pages links STATIC_PAGES = ( ('About', '/about/', u'Про меня'), ('Blog', '/', u'Начало'), ) # Set this to true to get first comment by any user autoapproved # This makes sense if captcha is enabled ANONYMOUS_COMMENTS_APPROVED = True # Possible choices are: ''|'simple'|'recaptcha' # To utilize recaptcha you must get public/private keys # from http://recaptcha.net/ CAPTCHA='simple' RECAPTCHA_PUBLIC_KEY = '' RECAPTCHA_PRIVATE_KEY ='' GA_ACC = '' # Google Analytics account LI_ACC = True # Set True if you want liveinternet.ru counter GRAVATAR_ENABLE = False # Enable gravatars? SHORT_POSTS_IN_FEED = False # Full or short posts in feed WYSIWYG_ENABLE = False # WYSIWYG for post text in admin RENDER_METHOD = 'bbcode' # Choices: bbcode and simple. Don't use html here, it is unsafe MAINTENANCE_MODE = False # Set True if you want to put site in maitenance (offline) mode # Format: {"feedname": "feedburnername"}, where: # - `feedname` is name of your feed in byteflow (f.e. "blog" or "tag/django") # - `feedburnername` is name of your feed in FeedBurner (f.e. "AmazonByteflow") FEEDBURNER = {} # SOCIAL_BOOKMARKS can be reconfigured to contain values from apps/blog/templatetags/bookmarks.py # BLOG_URLCONF_ROOT can be set if you want to remove 'blog/' prefix #BLOG_URLCONF_ROOT = '/' # URL_PREFIX can be set to add url prefix to *all* urls # Set it to True if you want to activate orm_debug template tag # You also need to setup INTERNAL_IPS setting # if you want to use explain feature of orm_debug ORM_DEBUG = False # Livejournal crossposting LJ_USERNAME = '' LJ_PASSWORD = '' # sape.ru settings SAPE_USER = '74947f25f25d6eb17e910005cbeaa8e6' # You sape.ru ID SAPE_DB_FILE = os.path.join(PROJECT_ROOT, 'local', 'sape.links') # Links cache file. Check permissions! SAPE_VERBOSE = True # Set to True if you want see error messages when something goes wrong ADDITIONAL_APPS = ( 'recaptcha', 'pingback', 'watchlist', # comments subscription 'blogroll', 'robots', # 'debug', # debug sql query # 'livejournal', # livejournal crossposting # 'textblocks', # 'wpimport', 'sape', ) # DEBUG must be False in production mode # Please read http://byteflow.su/wiki/DEBUG DEBUG = True