Ben Sturmfels
3826b6fb66
The advantage of this approach is that the production and dev configurations are in version control, so there's less opportunity for surprises. As advocated by Jacob Kaplan-Moss (OSCON 2011) and Two Scoops of Django book.
17 lines
358 B
Python
17 lines
358 B
Python
from .base import *
|
|
|
|
DEBUG = True
|
|
ALLOWED_HOSTS = ['*']
|
|
|
|
FORCE_CANONICAL_HOSTNAME = False
|
|
|
|
DATABASES = {
|
|
'default': {
|
|
'NAME': 'conservancy-website.sqlite3',
|
|
'ENGINE': 'django.db.backends.sqlite3',
|
|
}
|
|
}
|
|
|
|
SECRET_KEY = 'xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx'
|
|
|
|
EMAIL_BACKEND = 'django.core.mail.backends.console.EmailBackend'
|