DATABASES = {
    'default': {
        'ENGINE': 'django.contrib.gis.db.backends.postgis',
        'NAME': 'angkot',
        'USER': 'angkot',
        'PASSWORD': 'angkot',
        'HOST': 'localhost',
        'PORT': '',
    }
}

# GOOGLE_ANALYTICS_IGNORE = False
# GOOGLE_ANALYTICS_ID = ''
# GOOGLE_ANALYTICS_HOST = ''
# MAPBOX_KEY = ''
# BING_MAPS_KEY = ''

# USERVOICE_CODE = '''
# <!-- UserVoice JavaScript SDK (only needed once on a page) -->
# <script>(function(){var uv=document.createElement('script');uv.type='text/javascript';uv.async=true;uv.src='//widget.uservoice.com/USER-VOICE-ID.js';var s=document.getElementsByTagName('script')[0];s.parentNode.insertBefore(uv,s)})()</script>
# 
# <!-- A tab to launch the Classic Widget -->
# <script>
# UserVoice = window.UserVoice || [];
# UserVoice.push(['showTab', 'classic_widget', {
#   mode: 'feedback',
#   primary_color: '#cc6d00',
#   link_color: '#007dbf',
#   forum_id: 217173,
#   tab_label: 'Feedback',
#   tab_color: '#cc6d00',
#   tab_position: 'middle-right',
#   tab_inverted: false
# }]);
# </script>
# '''

ACCOUNT_USERNAME_PREFIX = 'user'
ANGKOT_CONTRIBUTOR_TERMS_URL = ''
ANGKOT_PRIVACY_POLICY_URL = ''

# Authentication keys from providers

GOOGLE_OAUTH2_CLIENT_ID = ''
GOOGLE_OAUTH2_CLIENT_SECRET = ''

FACEBOOK_APP_ID = ''
FACEBOOK_API_SECRET = ''

TWITTER_CONSUMER_KEY = ''
TWITTER_CONSUMER_SECRET = ''


# Sentry config. Uncomment them if you use Sentry
RAVEN_CONFIG = {
    'dsn': 'udp://u:p@localhost:9001/2',
}
INSTALLED_APPS = INSTALLED_APPS + (
    'raven.contrib.django.raven_compat',
)
LOGGING['root'] = {
    'level': 'DEBUG',
    'handlers': ['sentry'],
}
LOGGING['handlers']['sentry'] = {
    'level': 'DEBUG',
    'class': 'raven.contrib.django.raven_compat.handlers.SentryHandler',
}
SECURE_PROXY_SSL_HEADER = ('HTTP_X_FORWARDED_PROTO', 'https')

DATABASES = {
    'default': {
        'ENGINE': 'django.contrib.gis.db.backends.postgis',
        'NAME': 'test_angkot',
        'USER': 'angkot',
        'PASSWORD': 'angkot',
        'HOST': 'localhost',
        'PORT': '',
    }
}

GOOGLE_ANALYTICS_ID = 'UA-00000000-1'
GOOGLE_ANALYTICS_HOST = 'angkot.web.id'
GOOGLE_MAPS_KEY = 'google-maps-key'
MAPBOX_KEY = 'mapbox-key'
BING_MAPS_KEY = 'bingmaps-key'

USERVOICE_CODE = 'uservoice-code'

ALLOWED_HOSTS = ['angkot.web.id']

DEBUG = False
TEMPLATE_DEBUG = False

ACCOUNT_USERNAME_PREFIX = 'user'
ANGKOT_CONTRIBUTOR_TERMS_URL = 'https://github.com/fajran/angkot/wiki/Ketentuan-Kontribusi-(Rangkuman)'
ANGKOT_PRIVACY_POLICY_URL = 'https://github.com/fajran/angkot/wiki/Kebijakan-Privasi'

# Authentication keys from providers

GOOGLE_OAUTH2_CLIENT_ID = 'google-oauth2-client-id'
GOOGLE_OAUTH2_CLIENT_SECRET = 'google-oauth2-client-secret'

FACEBOOK_APP_ID = 'facebook-app-id'
FACEBOOK_API_SECRET = 'facebook-api-secret'

TWITTER_CONSUMER_KEY = 'twitter-consumer-key'
TWITTER_CONSUMER_SECRET = 'twitter-consumer-secret'

# Logging

LOGGING['handlers']['console'] = {
    'level': 'DEBUG',
    'formatter': 'basic',
    'class': 'logging.FileHandler',
    'filename': '/tmp/angkot-console.log',
}
LOGGING['handlers']['exception'] = {
    'level': 'ERROR',
    'formatter': 'exception',
    'filters': ['require_debug_false'],
    'class': 'logging.FileHandler',
    'filename': '/tmp/angkot-exception.log',
}


Use closer-to-production-version localsettings.py for testing