Files
@ 562fa38d39b4
Branch filter:
Location: majic-django-templates/project-django-1.8/project_name/settings/development.py - annotation
562fa38d39b4
810 B
text/x-python
MDT-3: Added ALLOWED_HOSTS to development.py for consistency. Renamed testing.py to test.py. Added requirements files to support specifying what packages need to be installed in what environment.
3ad753235b83 3ad753235b83 3ad753235b83 3ad753235b83 3ad753235b83 3ad753235b83 3ad753235b83 3ad753235b83 3ad753235b83 3ad753235b83 3ad753235b83 3ad753235b83 3ad753235b83 3ad753235b83 3ad753235b83 3ad753235b83 3ad753235b83 3ad753235b83 3ad753235b83 3ad753235b83 3ad753235b83 3ad753235b83 3ad753235b83 3ad753235b83 3ad753235b83 3ad753235b83 3ad753235b83 3ad753235b83 3ad753235b83 3ad753235b83 562fa38d39b4 562fa38d39b4 562fa38d39b4 | # 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': '',
}
}
# Hostnames/FQDNs considered valid for accessing the installation.
ALLOWED_HOSTS = []
|