Created
July 23, 2013 20:38
-
-
Save luiscastillocr/6065955 to your computer and use it in GitHub Desktop.
This file contains hidden or 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
DATABASES = { | |
'default': { | |
'ENGINE': 'django.db.backends.postgresql_psycopg2', # Add 'postgresql_psycopg2', 'mysql', 'sqlite3' or 'oracle'. | |
'NAME': 'handshakez', # Or path to database file if using sqlite3. | |
'USER': 'handshakez', # Not used with sqlite3. | |
'PASSWORD': 'h0nd5hak3z', # Not used with sqlite3. | |
'HOST': 'localhost', # Set to empty string for localhost. Not used with sqlite3. | |
'PORT': '', # Set to empty string for default. Not used with sqlite3. | |
} | |
} | |
DOC_THUMBNAIL_FOLDER = 'doc_thumbnail_folder_name/' | |
""" | |
DOC_THUMBNAIL_FOLDER is relative path to MEDIA_ROOT. This directory will contain all the vuzit doc thumbnail images. | |
""" | |
DOC_FILE_FOLDER = 'files/' | |
""" | |
DOC_FILE_FOLDER is relative path to MEDIA_ROOT. This directory will contains all original docs. | |
""" | |
TEMP_VUZIT_DOC_THUMBNAIL_FOLDER = 'temp_vuzit_doc_thumbnail_foldername/' | |
""" | |
TEMP_VUZIT_DOC_THUMBNAIL_FOLDER is a local system path. | |
We use this directory to store files locally for uploading to Vuzit. | |
""" | |
LITTLEBRO_MONGODB_HOST = '127.0.0.1' | |
LITTLEBRO_MONGODB_PORT = 27017 | |
LITTLEBRO_DEFAULT_MONGO_DB = 'littlebro' | |
LITTLEBRO_DEFAULT_MONGO_COLLECTION = 'littlebro' | |
# Keyword arguments for the MULTISITE_FALLBACK view. | |
# Default: {} | |
MULTISITE_FALLBACK_KWARGS = {'url': 'http://localhost:8000/', | |
'permanent': False} | |
#Change this to '.<default site's domain>' | |
SESSION_COOKIE_DOMAIN = None | |
SESSION_ENGINE = 'django.contrib.sessions.backends.cache' | |
# These URLs are used in the sign up and linked in sign up pages to direct the user information | |
# into Pardot. If you want to disable Pardot, comment this out or set it to '' | |
PARDOT_SIGNUP_URL = 'http://www2.handshakez.com/l/22152/2013-04-09/99r' | |
CACHES = { | |
'default': { | |
'BACKEND': 'johnny.backends.memcached.MemcachedCache', | |
'LOCATION': [ | |
'127.0.0.1:11211', | |
], | |
'JOHNNY_CACHE': True | |
}, | |
'multisite': { | |
'BACKEND': 'django.core.cache.backends.memcached.MemcachedCache', | |
'LOCATION': [ | |
'127.0.0.1:11211', | |
], | |
}, | |
} | |
CACHE_MULTISITE_ALIAS = 'default' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment