Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

[py3] Fixed a regression introduced in fcc8de0.

Thanks George Marshall for the report.
  • Loading branch information...
commit d739d531a111f8780c2183605b56c4e2352ec4a5 1 parent 5c79dd5
@aaugustin aaugustin authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  django/core/servers/basehttp.py
View
2  django/core/servers/basehttp.py
@@ -202,7 +202,7 @@ def log_message(self, format, *args):
def run(addr, port, wsgi_handler, ipv6=False, threading=False):
server_address = (addr, port)
if threading:
- httpd_cls = type('WSGIServer', (socketserver.ThreadingMixIn, WSGIServer), {})
+ httpd_cls = type(str('WSGIServer'), (socketserver.ThreadingMixIn, WSGIServer), {})
else:
httpd_cls = WSGIServer
httpd = httpd_cls(server_address, WSGIRequestHandler, ipv6=ipv6)
Please sign in to comment.
Something went wrong with that request. Please try again.