2017-08-19 14:16:51 +00:00
|
|
|
from .base import *
|
|
|
|
|
|
|
|
# Quick-start development settings - unsuitable for production
|
|
|
|
# See https://docs.djangoproject.com/en/1.11/howto/deployment/checklist/
|
|
|
|
|
|
|
|
SECRET_KEY = '(z4ha%^_=7#jco0wmna_#0jvyyt!03#f7l_y%@1x(a2xj$nrx%'
|
|
|
|
DEBUG = True
|
|
|
|
ALLOWED_HOSTS = ['*']
|
|
|
|
|
|
|
|
|
|
|
|
# Database
|
|
|
|
# https://docs.djangoproject.com/en/1.11/ref/settings/#databases
|
|
|
|
|
|
|
|
DATABASES = {
|
|
|
|
'default': {
|
|
|
|
'ENGINE': 'django.db.backends.sqlite3',
|
|
|
|
'NAME': os.path.join(BASE_DIR, 'db.sqlite3'),
|
|
|
|
}
|
|
|
|
}
|
2017-08-20 17:31:19 +00:00
|
|
|
|
|
|
|
|
|
|
|
# Django Rest Framework
|
|
|
|
# http://www.django-rest-framework.org/#
|
|
|
|
|
|
|
|
REST_FRAMEWORK['DEFAULT_RENDERER_CLASSES'] = (
|
|
|
|
'rest_framework.renderers.JSONRenderer',
|
|
|
|
'rest_framework.renderers.BrowsableAPIRenderer',
|
|
|
|
)
|