Files @ 5fa226284bcb
Branch filter:

Location: website/conservancy/settings/dev.py

bsturmfels
Delegate management of canonical URLs to Apache

This middleware is mostly redundant:

* redirecting to canonical URLs can be done more simply in Apache
* appending a forward slash is a default in CommonMiddleware now
* we're no longer using Squid cache

May need to update Apache to strip/redirect trailing "index.html".
from .base import *

DEBUG = True
ALLOWED_HOSTS = ['*']

DATABASES = {
    'default': {
        'NAME': 'conservancy-website.sqlite3',
        'ENGINE': 'django.db.backends.sqlite3',
    }
}

SECRET_KEY = 'xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx'

EMAIL_BACKEND = 'django.core.mail.backends.console.EmailBackend'