[0.96.X] Another update to security patch from r11354.

git-svn-id: http://code.djangoproject.com/svn/django/branches/0.96-bugfixes@11435 bcc190cf-cafb-0310-a4f2-bffc1f526a37
This commit is contained in:
Russell Keith-Magee 2009-08-12 08:32:49 +00:00
parent 9cc89c97b9
commit c60c89a76e
1 changed files with 1 additions and 1 deletions

View File

@ -1192,7 +1192,7 @@ def runserver(addr, port, use_reloader=True, admin_media_dir=''):
print "Development server is running at http://%s:%s/" % (addr, port)
print "Quit the server with %s." % quit_command
try:
handler = AdminMediaHandler(WSGIHandler(), admin_media_path)
handler = AdminMediaHandler(WSGIHandler(), admin_media_dir)
run(addr, int(port), handler)
except WSGIServerException, e:
# Use helpful error messages instead of ugly tracebacks.