magic-removal: changed explicit settings import to qualified settings import in django.core.servers
git-svn-id: http://code.djangoproject.com/svn/django/branches/magic-removal@2000 bcc190cf-cafb-0310-a4f2-bffc1f526a37
This commit is contained in:
parent
cdef2c15df
commit
179beccfea
|
@ -532,8 +532,8 @@ class WSGIRequestHandler(BaseHTTPRequestHandler):
|
|||
server_version = "WSGIServer/" + __version__
|
||||
|
||||
def __init__(self, *args, **kwargs):
|
||||
from django.conf.settings import ADMIN_MEDIA_PREFIX
|
||||
self.admin_media_prefix = ADMIN_MEDIA_PREFIX
|
||||
from django.conf import settings
|
||||
self.admin_media_prefix = settings.ADMIN_MEDIA_PREFIX
|
||||
BaseHTTPRequestHandler.__init__(self, *args, **kwargs)
|
||||
|
||||
def get_environ(self):
|
||||
|
|
Loading…
Reference in New Issue