diff options
author | Ernesto Rico-Schmidt <e.rico.schmidt@gmail.com> | 2011-04-02 20:32:35 (GMT) |
---|---|---|
committer | Ernesto Rico-Schmidt <e.rico.schmidt@gmail.com> | 2011-04-02 20:32:35 (GMT) |
commit | b5b52f8f4fd25c9a9b778bbe2e76f0ad3aa43ea8 (patch) | |
tree | 776ca54f2053d32df775acdc960ec09689a137b9 | |
parent | 81956e36f21f4c243a599a88512599d20c325fe8 (diff) |
fixed admin media prefix, removed settings for logging.
-rw-r--r-- | settings.py | 20 |
1 files changed, 1 insertions, 19 deletions
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, - }, - } -} |