settings.py 1.0 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152
  1. from django.conf import global_settings
  2. SECRET_KEY = '!DJANGO_JET_TESTS!'
  3. DEBUG = True
  4. TEMPLATE_DEBUG = DEBUG
  5. DEBUG_PROPAGATE_EXCEPTIONS = True
  6. ROOT_URLCONF = 'jet.tests.urls'
  7. INSTALLED_APPS = (
  8. 'jet',
  9. 'django.contrib.auth',
  10. 'django.contrib.contenttypes',
  11. 'django.contrib.sessions',
  12. 'django.contrib.sites',
  13. 'django.contrib.messages',
  14. 'django.contrib.admin',
  15. 'jet.tests',
  16. )
  17. MIDDLEWARE_CLASSES = (
  18. 'django.contrib.sessions.middleware.SessionMiddleware',
  19. 'django.middleware.common.CommonMiddleware',
  20. 'django.middleware.csrf.CsrfViewMiddleware',
  21. 'django.contrib.auth.middleware.AuthenticationMiddleware',
  22. 'django.contrib.messages.middleware.MessageMiddleware',
  23. )
  24. TEMPLATE_CONTEXT_PROCESSORS = global_settings.TEMPLATE_CONTEXT_PROCESSORS + (
  25. 'django.core.context_processors.request',
  26. )
  27. DATABASES = {
  28. 'default': {
  29. 'ENGINE': 'django.db.backends.sqlite3',
  30. }
  31. }
  32. TIME_ZONE = 'UTC'
  33. LANGUAGE_CODE = 'en-US'
  34. USE_I18N = True
  35. USE_L10N = True
  36. MEDIA_ROOT = ''
  37. MEDIA_URL = ''
  38. STATIC_URL = '/static/'