No images in this repository’s iceberg at this time
Download raw (1.1 KB)
LOCAL_SETTINGS = True from settings import * DEBUG = True TEMPLATE_DEBUG = DEBUG # prevents Setting DEBUG = False causes 500 Error # http://stackoverflow.com/questions/15128135/setting-debug-false-causes-500-error ALLOWED_HOSTS = ['*'] # Absolute path to the directory that holds media. # Example: "/home/media/media.lawrence.com/" MEDIA_ROOT = os.path.join(PROJECT_DIR, 'media/') STATIC_ROOT = os.path.join(PROJECT_DIR, 'collected_static_files') DATABASES = { 'default': { 'ENGINE': 'django.db.backends.sqlite3', # Add 'postgresql_psycopg2', 'postgresql', 'mysql', 'sqlite3' or 'oracle'. 'NAME': os.path.join(PROJECT_DIR, 'aa.db'), # Or path to database file if using sqlite3. } } # Make this unique, and don't share it with anybody. SECRET_KEY = '3)m(!w%yri=4l_ww05l^yo=^3##^t7#03d8a4iw0)bbac%71bu' if DEBUG: # Show emails in the console during developement. EMAIL_BACKEND = 'django.core.mail.backends.console.EmailBackend' TUMBLR_KEYS = ( '<consumer_key>', '<consumer_secret>', '<oauth_token>', '<oauth_secret>' )