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/
|
|
|
|
|
2017-10-22 20:00:29 +00:00
|
|
|
SECRET_KEY = 'CHANGE ME'
|
2017-08-19 14:16:51 +00:00
|
|
|
DEBUG = True
|
2017-11-19 01:57:29 +00:00
|
|
|
|
2017-08-19 14:16:51 +00:00
|
|
|
|
|
|
|
# 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
|
|
|
|
|
|
|
|
2017-12-03 02:39:57 +00:00
|
|
|
# Static files (CSS, JavaScript, Images)
|
|
|
|
# https://docs.djangoproject.com/en/1.11/howto/static-files/
|
2019-07-11 02:26:10 +00:00
|
|
|
#
|
|
|
|
# Comment out STATICFILES_STORAGE and uncomment DEBUG = False to test with
|
|
|
|
# production static files.
|
2017-12-03 02:39:57 +00:00
|
|
|
|
2019-07-11 02:26:10 +00:00
|
|
|
# DEBUG = False
|
2017-12-03 02:39:57 +00:00
|
|
|
STATICFILES_STORAGE = 'django.contrib.staticfiles.storage.StaticFilesStorage'
|
|
|
|
|
|
|
|
|
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',
|
|
|
|
)
|