From 2ddb96f883e9b8c1691ff0318720b628d43a1b4c Mon Sep 17 00:00:00 2001 From: Michael Ziegler Date: Fri, 15 Jan 2010 09:36:51 +0100 Subject: [PATCH] how the f did I manage to miss that this thing already existed? meeeeeh --- pyweb/processors.py | 4 ---- pyweb/settings.py | 3 +-- 2 files changed, 1 insertion(+), 6 deletions(-) diff --git a/pyweb/processors.py b/pyweb/processors.py index 711cd53..c28d6e2 100644 --- a/pyweb/processors.py +++ b/pyweb/processors.py @@ -14,10 +14,6 @@ * GNU General Public License for more details. """ -def media_url(request): - from django.conf import settings - return { 'MEDIA_URL': settings.MEDIA_URL } - def installed_apps(request): from django.conf import settings return { 'ROSETTA_INSTALLED': "rosetta" in settings.INSTALLED_APPS } diff --git a/pyweb/settings.py b/pyweb/settings.py index 7c69561..28ba656 100644 --- a/pyweb/settings.py +++ b/pyweb/settings.py @@ -183,9 +183,8 @@ TEMPLATE_CONTEXT_PROCESSORS = ( "django.core.context_processors.debug", "django.core.context_processors.i18n", "django.core.context_processors.media", - 'processors.media_url', 'processors.installed_apps', - ); +) TEST_RUNNER = 'mumble.testrunner.run_tests' TEST_MURMUR_LAB_DIR = join( dirname(MUMBLE_DJANGO_ROOT), 'murmur' );