Created
March 15, 2016 00:47
-
-
Save wordyallen/8dedce3545b93d69fffd to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# These are all the settings that are specific to a deployment | |
import os | |
# SECURITY WARNING: keep the secret key used in production secret! | |
SECRET_KEY = 'replacethiswithsomethingsecret' | |
# SECURITY WARNING: don't run with debug turned on in production! | |
# Set this to True while you are developing | |
DEBUG = True | |
# Database | |
# https://docs.djangoproject.com/en/1.8/ref/settings/#databases | |
DATABASES = { | |
'default': { | |
'ENGINE': 'django.db.backends.postgresql_psycopg2', | |
'NAME': 'mia_councilmatic', | |
'USER': 'codeformiami', | |
'PASSWORD': 'code4miami', | |
'HOST': 'localhost' | |
} | |
} | |
HAYSTACK_CONNECTIONS = { | |
'default': { | |
'ENGINE': 'haystack.backends.solr_backend.SolrEngine', | |
#'URL': 'http://127.0.0.1:8983/solr' | |
# ...or for multicore... | |
'URL': 'http://127.0.0.1:8983/solr/chicago', | |
}, | |
} | |
# Remember to run python manage.py createcachetable so this will work! | |
# developers, set your BACKEND to 'django.core.cache.backends.dummy.DummyCache' | |
CACHES = { | |
'default': { | |
'BACKEND': 'django.core.cache.backends.db.DatabaseCache', | |
'LOCATION': 'councilmatic_cache', | |
} | |
} | |
# Set this to flush the cache at /flush-cache/{FLUSH_KEY} | |
FLUSH_KEY = 'super secret junk' | |
# Set this to allow Disqus comments to render | |
DISQUS_SHORTNAME = None | |
# analytics tracking code | |
ANALYTICS_TRACKING_CODE = '' | |
HEADSHOT_PATH = os.path.join(os.path.dirname(__file__), '..' | |
'/chicago/static/images/') |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment