settings.py 1.1 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253
  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.dashboard',
  9. 'jet',
  10. 'django.contrib.auth',
  11. 'django.contrib.contenttypes',
  12. 'django.contrib.sessions',
  13. 'django.contrib.sites',
  14. 'django.contrib.messages',
  15. 'django.contrib.admin',
  16. 'jet.tests',
  17. )
  18. MIDDLEWARE_CLASSES = (
  19. 'django.contrib.sessions.middleware.SessionMiddleware',
  20. 'django.middleware.common.CommonMiddleware',
  21. 'django.middleware.csrf.CsrfViewMiddleware',
  22. 'django.contrib.auth.middleware.AuthenticationMiddleware',
  23. 'django.contrib.messages.middleware.MessageMiddleware',
  24. )
  25. TEMPLATE_CONTEXT_PROCESSORS = global_settings.TEMPLATE_CONTEXT_PROCESSORS + (
  26. 'django.core.context_processors.request',
  27. )
  28. DATABASES = {
  29. 'default': {
  30. 'ENGINE': 'django.db.backends.sqlite3',
  31. }
  32. }
  33. TIME_ZONE = 'UTC'
  34. LANGUAGE_CODE = 'en-US'
  35. USE_I18N = True
  36. USE_L10N = True
  37. MEDIA_ROOT = ''
  38. MEDIA_URL = ''
  39. STATIC_URL = '/static/'