website/conservancy/settings/dev.py
Ben Sturmfels 3826b6fb66
Switch settings to use "the one true way" approach
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.
2024-03-20 14:10:00 +11:00

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'