diff --git a/project-django-1.8/project_name/settings/development.py b/project-django-1.8/project_name/settings/development.py new file mode 100644 index 0000000000000000000000000000000000000000..01675d7ac682c283b61a5827cb6be21218a46538 --- /dev/null +++ b/project-django-1.8/project_name/settings/development.py @@ -0,0 +1,30 @@ +# Development environment settings for project {{ project_name }}. + +# Import the base settings. +from .base import * + +# Credentials in development environment are static. +SECRET_KEY="{{ secret_key }}" + +# Enable debugging in development environment. +DEBUG = True +for template_config in TEMPLATES: + template_config['OPTIONS']['debug']=True + +# Site administrators and managers. +ADMINS = ( + # ('Your Name', 'your_email@example.com'), +) +MANAGERS = ADMINS + +# Use SQLite3 for simplicity in development environment. +DATABASES = { + 'default': { + 'ENGINE': 'django.db.backends.sqlite3', + 'NAME': 'development.sqlite3', + 'USER': '', + 'PASSWORD': '', + 'HOST': '', + 'PORT': '', + } +}