Files
@ 21649ff645ee
Branch filter:
Location: majic-django-templates/project-django-1.8/project_name/settings/development.py - annotation
21649ff645ee
810 B
text/x-python
Noticket: Use docs_version variable in Django 1.8 project template.
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 = []
|