mybuddy/babybuddy/settings/development.py

34 lines
705 B
Python
Raw Normal View History

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'
DEBUG = True
INTERNAL_IPS = (
'0.0.0.0',
'127.0.0.1',
)
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'),
}
}
# Django Rest Framework
# http://www.django-rest-framework.org/#
REST_FRAMEWORK['DEFAULT_RENDERER_CLASSES'] = (
'rest_framework.renderers.JSONRenderer',
'rest_framework.renderers.BrowsableAPIRenderer',
)