mirror of
https://github.com/django/django.git
synced 2025-10-25 14:46:09 +00:00
Fixed #627 -- BACKWARDS-INCOMPATIBLE CHANGE. Admin is now an app, not a middleware. See BackwardsIncompatibleChanges for a full list of changes and information on how to update your code.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@948 bcc190cf-cafb-0310-a4f2-bffc1f526a37
This commit is contained in:
@@ -602,7 +602,7 @@ class AdminMediaHandler:
|
||||
from django.conf import settings
|
||||
import django
|
||||
self.application = application
|
||||
self.media_dir = django.__path__[0] + '/conf/admin_media'
|
||||
self.media_dir = django.__path__[0] + '/contrib/admin/media'
|
||||
self.media_url = settings.ADMIN_MEDIA_PREFIX
|
||||
|
||||
def __call__(self, environ, start_response):
|
||||
|
||||
Reference in New Issue
Block a user