Permalink
Fetching contributors…
Cannot retrieve contributors at this time
51 lines (41 sloc) 1.6 KB
# Sample site configuration
# Edit as needed
DEBUG = True
TEMPLATE_DEBUG = True
SOUTH_TESTS_MIGRATE = False
DATABASES = {
'default': {
'ENGINE': 'django.db.backends.postgresql_psycopg2', # Add 'postgresql_psycopg2', 'postgresql', 'mysql', 'sqlite3' or 'oracle'.
'NAME': 'imaginationforpeople', # Or path to database file if using sqlite3.
'USER': 'postgres', # Not used with sqlite3.
'PASSWORD': '', # Not used with sqlite3.
'HOST': '', # Set to empty string for localhost. Not used with sqlite3.
'PORT': '', # Set to empty string for default. Not used with sqlite3.
}
}
# If you want to run tests under sqlite, uncomment the following (but beware
# that there ARE occasional differences between postgres and sqlite.
'''
import sys
if 'test' in sys.argv:
DATABASES['default'] = {'ENGINE': 'django.db.backends.sqlite3'}
'''
# URL that handles the media served from MEDIA_ROOT. Make sure to use a
# trailing slash if there is a path component (optional in other cases).
# Examples: "http://media.lawrence.com", "http://example.com/media/"
MEDIA_URL = 'http://imaginationforpeople.org/site_media/'
FACEBOOK_APP_ID = "TO_COMPLETE"
FACEBOOK_API_SECRET = "TO_COMPLETE"
GOOGLE_OAUTH2_CLIENT_ID = "TO_COMPLETE"
GOOGLE_OAUTH2_CLIENT_SECRET = "TO_COMPLETE"
## Dynamicsites
DEFAULT_HOST = 'imaginationforpeople.org'
HOSTNAME_REDIRECTS = {
'example.dev': 'example.com',
'example2.dev': 'example2.com',
'other.example2.dev': 'other.example2.com',
}
# Use this for developement aliases
ENV_HOSTNAMES = {
'localhost': 'imaginationforpeople.org',
}