From b5b52f8f4fd25c9a9b778bbe2e76f0ad3aa43ea8 Mon Sep 17 00:00:00 2001 From: Ernesto Rico-Schmidt Date: Sat, 2 Apr 2011 22:32:35 +0200 Subject: fixed admin media prefix, removed settings for logging. diff --git a/settings.py b/settings.py index 0894d5f..646fcac 100644 --- a/settings.py +++ b/settings.py @@ -34,7 +34,7 @@ MEDIA_ROOT = '' MEDIA_URL = '' -ADMIN_MEDIA_PREFIX = '/static/admin/' +ADMIN_MEDIA_PREFIX = '/media/' SECRET_KEY = 'oepk-$!=)c)7+y%cdz-x46_h5bp!o-*9%dv!(sf=3r4zfqk_(t' @@ -67,21 +67,3 @@ INSTALLED_APPS = ( 'django.contrib.admin', 'helsinki.program', ) - -LOGGING = { - 'version': 1, - 'disable_existing_loggers': False, - 'handlers': { - 'mail_admins': { - 'level': 'ERROR', - 'class': 'django.utils.log.AdminEmailHandler' - } - }, - 'loggers': { - 'django.request':{ - 'handlers': ['mail_admins'], - 'level': 'ERROR', - 'propagate': True, - }, - } -} -- cgit v0.10.2