#Import global project settings
from {{ project_name }}.settings import *

#This module is the base for all production/staging sites

DEBUG = False
TEMPLATE_DEBUG = DEBUG

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

#Amend this if required
SITE_ID = {{ site_id }}

#Normally you won't need to amend these settings
MEDIA_ROOT = '{{ deployment_root }}/public/'
STATIC_ROOT = '{{ deployment_root }}/env/{{ project_name }}/static/'
TEMPLATE_DIRS = ('{{ deployment_root }}/env/{{ project_name }}/templates/',
                '{{ deployment_root }}/env/{{ project_name }}/templates/{{ domain }}',)