Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save flother/434537 to your computer and use it in GitHub Desktop.
Save flother/434537 to your computer and use it in GitHub Desktop.
import os
from flother.settings.common import *
DEBUG = True
TEMPLATE_DEBUG = True
SITE_ID = 1
ADMINS = (
('Your name', 'your@email.com'),
)
MANAGERS = ADMINS
# This will create an SQLite database in the flother/flother directory.
DATABASE_ENGINE = 'sqlite3'
DATABASE_NAME = os.path.join(SITE_ROOT, 'sqlite3.db')
DEFAULT_FROM_EMAIL = ADMINS[0][1]
SERVER_EMAIL = ADMINS[0][1]
EMAIL_HOST = '' # For example, 'smtp.gmail.com'.
EMAIL_HOST_PASSWORD = ''
EMAIL_HOST_USER = ADMINS[0][1]
EMAIL_SUBJECT_PREFIX = '[Flother clone] '
EMAIL_USE_TLS = True # Check if you need this (you do for Gmail).
SECRET_KEY = '' # Fill this with a random string.
# Get an Akismet API key from http://akismet.com/personal/.
AKISMET_API_KEY = ''
# Get an Flickr API key from http://www.flickr.com/services/api/keys/.
FLICKR_API_KEY = ''
FLICKR_API_SECRET = ''
# Find your NSID under "Your user ID" from the Flickr API explorer:
# http://www.flickr.com/services/api/explore/?method=flickr.people.getInfo
FLICKR_NSID = '42348675@N00'
COMPRESS = False
INTERNAL_IPS = ('127.0.0.1',)
# This is where the static cached version of the site will go. This is only
# really useful in production, so just put this somewhere out of the way.
WEB_ROOT = '' # For example, /tmp/flother/.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment