1. Colin Copeland
  2. copelco

Source

copelco / lib / copelco / settings_production.py

from copelco.settings import *

DATABASES = {
    'default': {
        'ENGINE': 'django.db.backends.postgresql_psycopg2', # Add 'postgresql_psycopg2', 'postgresql', 'mysql', 'sqlite3' or 'oracle'.
        'NAME': 'copelco_production',                      # Or path to database file if using sqlite3.
        'USER': 'website',                      # 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.
    }
}

DEBUG = False
TEMPLATE_DEBUG = DEBUG

STATICFILES_STORAGE = 'storages.backends.s3boto.S3BotoStorage'
AWS_STORAGE_BUCKET_NAME = 'copelco'

MEDIA_ROOT = '/home/copelco/www/production/uploads'
STATIC_URL = 'https://s3.amazonaws.com/copelco/'
ADMIN_MEDIA_PREFIX = STATIC_URL + "admin/"

GOOGLE_MAPS_API_KEY = 'ABQIAAAAss1tDjxTujgMCcntNB6_TBRdV4d_0Byl5pQ7EMPmOrkuRGi9ghTKt8Xb7Zon-jYkySN91F6PePRhUA'