removing references to AdminMediaHandler, because of incompatibilities with django1.4 and future removal in django1.5

This commit is contained in:
Fantomas42 2012-06-06 10:54:51 +02:00
parent 5fc950550f
commit a2e8f79655
1 changed files with 1 additions and 3 deletions

View File

@ -24,7 +24,6 @@
import inspect
import os
import django.core.handlers.wsgi
from django.core.servers.basehttp import AdminMediaHandler
import spawning.util
@ -52,7 +51,6 @@ def app_factory(config):
os.environ['DJANGO_SETTINGS_MODULE'] = config['django_settings_module']
app = django.core.handlers.wsgi.WSGIHandler()
if config.get('dev'):
app = AdminMediaHandler(app)
return app