dev.py 397 B

123456789101112131415161718
  1. from .base import * # noqa
  2. # SECURITY WARNING: don't run with debug turned on in production!
  3. DEBUG = True
  4. # SECURITY WARNING: keep the secret key used in production secret!
  5. SECRET_KEY = '{{ secret_key }}'
  6. ALLOWED_HOSTS = ['*']
  7. EMAIL_BACKEND = 'django.core.mail.backends.console.EmailBackend'
  8. WAGTAIL_CACHE = False
  9. try:
  10. from .local_settings import * # noqa
  11. except ImportError:
  12. pass