[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:
parent
9cc89c97b9
commit
c60c89a76e
|
@ -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 "Development server is running at http://%s:%s/" % (addr, port)
|
||||||
print "Quit the server with %s." % quit_command
|
print "Quit the server with %s." % quit_command
|
||||||
try:
|
try:
|
||||||
handler = AdminMediaHandler(WSGIHandler(), admin_media_path)
|
handler = AdminMediaHandler(WSGIHandler(), admin_media_dir)
|
||||||
run(addr, int(port), handler)
|
run(addr, int(port), handler)
|
||||||
except WSGIServerException, e:
|
except WSGIServerException, e:
|
||||||
# Use helpful error messages instead of ugly tracebacks.
|
# Use helpful error messages instead of ugly tracebacks.
|
||||||
|
|
Loading…
Reference in New Issue