diff --git a/AUTHORS b/AUTHORS index 9ea3cd1b56..d399a54158 100644 --- a/AUTHORS +++ b/AUTHORS @@ -144,6 +144,7 @@ answer newbie questions, and generally made Django that much better: Chris Bennett Chris Cahoon Chris Chamberlin + Chris Jerdonek Chris Jones Chris Lamb Chris Streeter diff --git a/django/test/testcases.py b/django/test/testcases.py index eb3d63f917..2220ec7f52 100644 --- a/django/test/testcases.py +++ b/django/test/testcases.py @@ -1285,6 +1285,7 @@ class LiveServerTestCase(TransactionTestCase): other thread can see the changes. """ host = 'localhost' + server_thread_class = LiveServerThread static_handler = _StaticFilesHandler @classproperty @@ -1321,7 +1322,7 @@ class LiveServerTestCase(TransactionTestCase): @classmethod def _create_server_thread(cls, connections_override): - return LiveServerThread( + return cls.server_thread_class( cls.host, cls.static_handler, connections_override=connections_override,