Skip to content

Instantly share code, notes, and snippets.

@renyi
Last active October 11, 2015 00:47
Show Gist options
  • Save renyi/3776070 to your computer and use it in GitHub Desktop.
Save renyi/3776070 to your computer and use it in GitHub Desktop.
local_settings.py
DEBUG = True
TEMPLATE_DEBUG = True
COMPRESS_ENABLED = True
TEMPLATE_USE_CDN = False
DATABASES = {
"default": {
"ENGINE": "django.db.backends.sqlite3",
"NAME": "dev.db"
}
}
# CACHES = {
# 'default': {
# 'BACKEND': 'django.core.cache.backends.dummy.DummyCache',
# }
# }
CACHES = {
'default': {
'BACKEND': 'django.core.cache.backends.locmem.LocMemCache',
'LOCATION': 'unique-sis'
}
}
SESSION_ENGINE = "django.contrib.sessions.backends.signed_cookies"
MAINTENANCE_MODE = False
CELERY_CACHE_BACKEND = "dummy"
EMAIL_BACKEND = 'kopio.core.mailer.backend.DbBackend'
MAILER_EMAIL_BACKEND = 'django.core.mail.backends.smtp.EmailBackend'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment