"""
Django settings for stagecraft project.

For more information on this file, see
https://docs.djangoproject.com/en/1.6/topics/settings/

For the full list of settings and their values, see
https://docs.djangoproject.com/en/1.6/ref/settings/
"""

from .common import *

import os

# Quick-start development settings - unsuitable for production
# See https://docs.djangoproject.com/en/1.6/howto/deployment/checklist/

# SECURITY WARNING: keep the secret key used in production secret!
SECRET_KEY = '^10-$qwyu##ivl7f48^mit5e8a-8q#6ceb5i5&zk86)$^(^rmn'

DEBUG = True
TEMPLATE_DEBUG = True

ALLOWED_HOSTS = []  # required if DEBUG is False


# Application definition

INSTALLED_APPS += (
    'django_nose',
)

MIDDLEWARE_CLASSES += (
)

# Database
# https://docs.djangoproject.com/en/1.6/ref/settings/#databases

DATABASES = {
    'default': {
        'ENGINE': 'django.db.backends.sqlite3',
        'NAME': os.path.join(BASE_DIR, 'db.sqlite3'),
    }
}

BACKDROP_URL = 'http://localhost:3039'
CREATE_COLLECTION_ENDPOINT_TOKEN = 'dev-create-endpoint-token'

"""
Django settings for stagecraft project.

For more information on this file, see
https://docs.djangoproject.com/en/1.6/topics/settings/

For the full list of settings and their values, see
https://docs.djangoproject.com/en/1.6/ref/settings/
"""

from .common import *

import os

# Quick-start development settings - unsuitable for production
# See https://docs.djangoproject.com/en/1.6/howto/deployment/checklist/

# SECURITY WARNING: keep the secret key used in production secret!
SECRET_KEY = '^10-$qwyu##ivl7f48^mit5e8a-8q#6ceb5i5&zk86)$^(^rmn'

DEBUG = True
TEMPLATE_DEBUG = True

ALLOWED_HOSTS = [  # required if DEBUG is False
    'localhost',
    'stagecraft.perfplat.dev',
]


# Application definition

INSTALLED_APPS += (
    'django_nose',
)

MIDDLEWARE_CLASSES += (
)

# Database
# https://docs.djangoproject.com/en/1.6/ref/settings/#databases

DATABASES = {
    'default': {
        'ENGINE': 'django.db.backends.sqlite3',
        'NAME': os.path.join(BASE_DIR, 'db.sqlite3'),
    }
}

BACKDROP_URL = 'http://localhost:3039'
CREATE_COLLECTION_ENDPOINT_TOKEN = 'dev-create-endpoint-token'

Add ALLOWED_HOSTS in development.py