Commits

David Jean Louis  committed 25747e6

django 1.3 compat

  • Participants
  • Parent commits 3e58351

Comments (0)

Files changed (1)

File test_proj/settings.py

 )
 
 # Make this unique, and don't share it with anybody.
-SECRET_KEY = '6(ogp5)w8^ztc^%6*3!47vb_tc4!*tj3tfmv0s*s2z8^^ayz2v'
+SECRET_KEY = 'django-admin-tools'
 
 # List of callables that know how to import templates from various sources.
 TEMPLATE_LOADERS = (
     'django.core.context_processors.i18n',
     'django.core.context_processors.media',
     'django.core.context_processors.static',
-    'django.core.context_processors.tz',
     'django.core.context_processors.request',
     'django.contrib.messages.context_processors.messages',
 )
     PROJECT_PATH + '/templates',
 )
 
-INSTALLED_APPS = (
+INSTALLED_APPS = [
     'admin_tools',
     'admin_tools.dashboard',
     'admin_tools.menu',
     # 'django.contrib.admindocs',
     'south',
     'test_app',
-)
-
-# A sample logging configuration. The only tangible logging
-# performed by this configuration is to send an email to
-# the site admins on every HTTP 500 error when DEBUG=False.
-# See http://docs.djangoproject.com/en/dev/topics/logging for
-# more details on how to customize your logging configuration.
-LOGGING = {
-    'version': 1,
-    'disable_existing_loggers': False,
-    'filters': {
-        'require_debug_false': {
-            '()': 'django.utils.log.RequireDebugFalse'
-        }
-    },
-    'handlers': {
-        'mail_admins': {
-            'level': 'ERROR',
-            'filters': ['require_debug_false'],
-            'class': 'django.utils.log.AdminEmailHandler'
-        }
-    },
-    'loggers': {
-        'django.request': {
-            'handlers': ['mail_admins'],
-            'level': 'ERROR',
-            'propagate': True,
-        },
-    }
-}
-
-SECRET_KEY = 'django-admin-tools'
+]
 
 try:
     import django_coverage