Files
@ 9eb76f6574ce
Branch filter:
Location: majic-django-templates/project-django-1.8/project_name/settings/development.py - annotation
9eb76f6574ce
810 B
text/x-python
MDT-3: Fixed BASE_DIR and ASSETS_ROOT in base.py. Added some usage instructions for project templates on serving static and media files.
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 = []
|